mirror of
https://github.com/php/php-src.git
synced 2025-08-17 14:38:49 +02:00
- Initialize constants_updated (by Marcus)
This commit is contained in:
parent
71235e4140
commit
2de45bec65
1 changed files with 2 additions and 0 deletions
|
@ -289,6 +289,8 @@ static void register_standard_class(void)
|
||||||
zend_standard_class_def->handle_property_get = NULL;
|
zend_standard_class_def->handle_property_get = NULL;
|
||||||
zend_standard_class_def->handle_property_set = NULL;
|
zend_standard_class_def->handle_property_set = NULL;
|
||||||
zend_standard_class_def->refcount = 1;
|
zend_standard_class_def->refcount = 1;
|
||||||
|
zend_standard_class_def->constants_updated = 0;
|
||||||
|
|
||||||
zend_hash_add(GLOBAL_CLASS_TABLE, "stdclass", sizeof("stdclass"), &zend_standard_class_def, sizeof(zend_class_entry *), NULL);
|
zend_hash_add(GLOBAL_CLASS_TABLE, "stdclass", sizeof("stdclass"), &zend_standard_class_def, sizeof(zend_class_entry *), NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue