summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-11-03 12:19:52 +0000
committerAndi Gutmans <andi@php.net>2001-11-03 12:19:52 +0000
commit2eccd95ca422daa62049cece772026956ac212bb (patch)
tree26f97f068f680b93f6770c62e17ee963b0d7e4a1 /Zend/zend_compile.c
parentb87194e0c67cdc2ccc2ea2146cc815b4d4126a6b (diff)
downloadphp-git-2eccd95ca422daa62049cece772026956ac212bb.tar.gz
- Add some initializations
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 9d31e099cc..2185ed4fb7 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1683,6 +1683,8 @@ void zend_do_begin_class_declaration(znode *class_token, znode *class_name, znod
zend_hash_init(&new_class_entry.class_table, 10, NULL, ZEND_CLASS_DTOR, 0);
zend_hash_init(&new_class_entry.default_properties, 10, NULL, ZVAL_PTR_DTOR, 0);
+ new_class_entry.constructor = NULL;
+
new_class_entry.handle_function_call = NULL;
new_class_entry.handle_property_set = NULL;
new_class_entry.handle_property_get = NULL;