diff options
author | Dmitry Stogov <dmitry@php.net> | 2005-11-15 14:28:40 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2005-11-15 14:28:40 +0000 |
commit | d3e0b57e1a8f8e130b21cd3fb17c58065107e561 (patch) | |
tree | 8950b936f6f2152de45d3148f9312dedbd723cf6 | |
parent | 3c1932648099e853790a9f679f4abf072e4b27ff (diff) | |
download | php-git-d3e0b57e1a8f8e130b21cd3fb17c58065107e561.tar.gz |
Allow recursive calls to __get/__set for different properties
-rw-r--r-- | ext/mysqli/mysqli.c | 3 | ||||
-rw-r--r-- | ext/xmlreader/php_xmlreader.c | 3 | ||||
-rw-r--r-- | ext/xsl/php_xsl.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/ext/mysqli/mysqli.c b/ext/mysqli/mysqli.c index 5233018088..7b44e9b929 100644 --- a/ext/mysqli/mysqli.c +++ b/ext/mysqli/mysqli.c @@ -344,8 +344,7 @@ PHP_MYSQLI_EXPORT(zend_object_value) mysqli_objects_new(zend_class_entry *class_ intern = emalloc(sizeof(mysqli_object)); memset(intern, 0, sizeof(mysqli_object)); intern->zo.ce = class_type; - intern->zo.in_get = 0; - intern->zo.in_set = 0; + intern->zo.guards = NULL; intern->ptr = NULL; intern->valid = 0; intern->prop_handler = NULL; diff --git a/ext/xmlreader/php_xmlreader.c b/ext/xmlreader/php_xmlreader.c index 77eababaeb..ebf44753cb 100644 --- a/ext/xmlreader/php_xmlreader.c +++ b/ext/xmlreader/php_xmlreader.c @@ -352,8 +352,7 @@ zend_object_value xmlreader_objects_new(zend_class_entry *class_type TSRMLS_DC) intern = emalloc(sizeof(xmlreader_object)); intern->std.ce = class_type; - intern->std.in_get = 0; - intern->std.in_set = 0; + intern->std.guards = NULL; intern->ptr = NULL; intern->input = NULL; intern->schema = NULL; diff --git a/ext/xsl/php_xsl.c b/ext/xsl/php_xsl.c index ed29cbb382..7959e03726 100644 --- a/ext/xsl/php_xsl.c +++ b/ext/xsl/php_xsl.c @@ -120,8 +120,7 @@ zend_object_value xsl_objects_new(zend_class_entry *class_type TSRMLS_DC) intern = emalloc(sizeof(xsl_object)); intern->std.ce = class_type; - intern->std.in_get = 0; - intern->std.in_set = 0; + intern->std.guards = NULL; intern->ptr = NULL; intern->prop_handler = NULL; intern->parameter = NULL; |