diff options
-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; |