1
0
mirror of https://github.com/php/php-src.git synced 2026-03-29 03:32:20 +02:00

Allow recursive calls to __get/__set for different properties

This commit is contained in:
Ilia Alshanetsky
2005-11-15 14:57:42 +00:00
parent 21aeacfa9d
commit dffc74c54e

View 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);