From: Ilia Alshanetsky Date: Tue, 15 Nov 2005 14:57:42 +0000 (+0000) Subject: Allow recursive calls to __get/__set for different properties X-Git-Tag: RELEASE_2_0_1~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dffc74c54eb40957dae56f89ebd6ca4c625fedad;p=php Allow recursive calls to __get/__set for different properties --- diff --git a/ext/xmlwriter/php_xmlwriter.c b/ext/xmlwriter/php_xmlwriter.c index e9e632d23e..8cb9718dc7 100644 --- a/ext/xmlwriter/php_xmlwriter.c +++ b/ext/xmlwriter/php_xmlwriter.c @@ -92,9 +92,8 @@ PHP_XMLWRITER_API zend_object_value xmlwriter_object_new(zend_class_entry *class intern = emalloc(sizeof(ze_xmlwriter_object)); intern->zo.ce = class_type; - intern->zo.in_get = 0; - intern->zo.in_set = 0; - intern->zo.properties = NULL; + intern->zo.guards = NULL; + intern->zo.properties = NULL; ALLOC_HASHTABLE(intern->zo.properties); zend_hash_init(intern->zo.properties, 0, NULL, ZVAL_PTR_DTOR, 0);