summaryrefslogtreecommitdiff
path: root/ext/xmlwriter
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2005-11-15 14:57:42 +0000
committerIlia Alshanetsky <iliaa@php.net>2005-11-15 14:57:42 +0000
commitdffc74c54eb40957dae56f89ebd6ca4c625fedad (patch)
treea145488aa35289685524d4a7391032396e6ac571 /ext/xmlwriter
parent21aeacfa9d697105587f691be2d17ce892879f57 (diff)
downloadphp-git-dffc74c54eb40957dae56f89ebd6ca4c625fedad.tar.gz
Allow recursive calls to __get/__set for different properties
Diffstat (limited to 'ext/xmlwriter')
-rw-r--r--ext/xmlwriter/php_xmlwriter.c5
1 files changed, 2 insertions, 3 deletions
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);