diff options
| author | Marcus Boerger <helly@php.net> | 2005-03-06 22:15:35 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-03-06 22:15:35 +0000 |
| commit | 86ac9559be57b3d59ea6a656fecab09e6e78a207 (patch) | |
| tree | aae8275403fada3704cafa8191e5ba7596fbedcb /Zend/zend_reflection_api.c | |
| parent | 5830e46a84365b88977e1341b7230f9924ef24a5 (diff) | |
| download | php-git-86ac9559be57b3d59ea6a656fecab09e6e78a207.tar.gz | |
- Fix by Tim
Diffstat (limited to 'Zend/zend_reflection_api.c')
| -rw-r--r-- | Zend/zend_reflection_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 0434579027..bf1000ea91 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -3358,6 +3358,7 @@ ZEND_METHOD(reflection_property, getValue) } if ((ref->prop->flags & ZEND_ACC_STATIC)) { + zend_update_class_constants(intern->ce TSRMLS_CC); if (zend_hash_quick_find(intern->ce->static_members, ref->prop->name, ref->prop->name_length + 1, ref->prop->h, (void **) &member) == FAILURE) { zend_error(E_ERROR, "Internal error: Could not find the property %s", ref->prop->name); /* Bails out */ |
