]> granicus.if.org Git - php/commitdiff
- Applied Thies' bug fix. Great work!
authorAndi Gutmans <andi@php.net>
Tue, 30 Nov 1999 20:37:52 +0000 (20:37 +0000)
committerAndi Gutmans <andi@php.net>
Tue, 30 Nov 1999 20:37:52 +0000 (20:37 +0000)
Zend/zend_API.c

index 54c320ca6bc64695d6476ff21c472e049c23e00d..0427d252cb953c1fefb03e78e552b2d0c056de31 100644 (file)
@@ -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);