]> granicus.if.org Git - php/commitdiff
Allow recursive calls to __get/__set for different properties
authorIlia Alshanetsky <iliaa@php.net>
Tue, 15 Nov 2005 14:57:42 +0000 (14:57 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 15 Nov 2005 14:57:42 +0000 (14:57 +0000)
ext/xmlwriter/php_xmlwriter.c

index e9e632d23ea18f272a557944eca4548cd524ea43..8cb9718dc7ff9e14bf40602009235bc6e5de5756 100644 (file)
@@ -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);