diff options
author | Marcus Boerger <helly@php.net> | 2006-03-01 17:21:04 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2006-03-01 17:21:04 +0000 |
commit | 3840e428bbe8bbfd8ee9253808430a00d38d3ca9 (patch) | |
tree | c13373e67c7b8249942a74c1a9b28e0b2a841315 /Zend/zend_API.c | |
parent | f128dff1ffc6a377ba6de3f24603152c08fa3fe8 (diff) | |
download | php-git-3840e428bbe8bbfd8ee9253808430a00d38d3ca9.tar.gz |
- MFH Fix string-conversion and const updating
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 45462bde3e..b67887de34 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -811,6 +811,7 @@ ZEND_API void zend_update_class_constants(zend_class_entry *class_type TSRMLS_DC zend_class_entry *old_scope = *scope; *scope = class_type; + zend_hash_apply_with_argument(&class_type->constants_table, (apply_func_arg_t) zval_update_constant, (void*)1 TSRMLS_CC); zend_hash_apply_with_argument(&class_type->default_properties, (apply_func_arg_t) zval_update_constant, (void *) 1 TSRMLS_CC); if (!CE_STATIC_MEMBERS(class_type)) { |