diff options
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 53a990fc89..2e433d68c5 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1218,7 +1218,7 @@ ZEND_API zend_class_entry *zend_register_internal_class(zend_class_entry *class_ class_entry->is_namespace = 0; zend_hash_init(&class_entry->default_properties, 0, NULL, ZVAL_PTR_DTOR, 1); zend_hash_init(&class_entry->static_members, 0, NULL, ZVAL_PTR_DTOR, 1); - zend_hash_init(&class_entry->constants, 0, NULL, ZVAL_PTR_DTOR, 1); + zend_hash_init(&class_entry->constants_table, 0, NULL, ZVAL_PTR_DTOR, 1); zend_hash_init(&class_entry->function_table, 0, NULL, ZEND_FUNCTION_DTOR, 1); zend_hash_init(&class_entry->class_table, 10, NULL, ZEND_CLASS_DTOR, 1); |