From: Andi Gutmans Date: Tue, 30 Nov 1999 20:37:52 +0000 (+0000) Subject: - Applied Thies' bug fix. Great work! X-Git-Tag: PRE_RETURN_REF_PATCH~159 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3a176301214a0129461c947ace061906f9136aa0;p=php - Applied Thies' bug fix. Great work! --- diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 54c320ca6b..0427d252cb 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -812,6 +812,7 @@ ZEND_API zend_class_entry *register_internal_class(zend_class_entry *class_entry class_entry->parent = NULL; class_entry->refcount = (int *) malloc(sizeof(int)); *class_entry->refcount = 1; + class_entry->constants_updated = 0; zend_hash_init(&class_entry->default_properties, 0, NULL, PVAL_PTR_DTOR, 1); zend_hash_init(&class_entry->function_table, 0, NULL, ZEND_FUNCTION_DTOR, 1);