From: Andi Gutmans Date: Wed, 31 Jan 2001 05:21:53 +0000 (+0000) Subject: - Quick fix. I'm for changing these to add_property_null() as we've nuked X-Git-Tag: php-4.0.5RC1~426 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2f2d32fa61237828b81c8c45674ff2fff55f66d6;p=php - Quick fix. I'm for changing these to add_property_null() as we've nuked - unset. --- diff --git a/Zend/zend_API.h b/Zend/zend_API.h index fdb5c1af90..2a390f6bb5 100644 --- a/Zend/zend_API.h +++ b/Zend/zend_API.h @@ -203,7 +203,7 @@ ZEND_API int add_property_stringl_ex(zval *arg, char *key, uint key_len, char * ZEND_API int add_property_zval_ex(zval *arg, char *key, uint key_len, zval *value); #define add_property_long(__arg, __key, __n) add_property_long_ex(__arg, __key, strlen(__key)+1, __n) -#define add_property_unset(__arg, __key) add_assoc_property_ex(__arg, __key, strlen(__key) + 1) +#define add_property_unset(__arg, __key) add_property_unset_ex(__arg, __key, strlen(__key) + 1) #define add_property_bool(__arg, __key, __b) add_property_bool_ex(__arg, __key, strlen(__key)+1, __b) #define add_property_resource(__arg, __key, __r) add_property_resource_ex(__arg, __key, strlen(__key)+1, __r) #define add_property_double(__arg, __key, __d) add_property_double_ex(__arg, __key, strlen(__key)+1, __d)