diff options
author | Dmitry Stogov <dmitry@php.net> | 2005-06-10 10:22:36 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2005-06-10 10:22:36 +0000 |
commit | 26c3944d9ccb0242ec0a19b0233587ec4755bb8f (patch) | |
tree | dda60e1971c245296e01de97543707d032d497e3 /ext/reflection/php_reflection.c | |
parent | 84b96e9b03534400f155c5580f1c2fe399966bb3 (diff) | |
download | php-git-26c3944d9ccb0242ec0a19b0233587ec4755bb8f.tar.gz |
Fixed support for ZEND_ACC_SHADOW in ReflectionProperty constructor
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r-- | ext/reflection/php_reflection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index ae7a6d3b75..450081b24e 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -3255,7 +3255,7 @@ ZEND_METHOD(reflection_property, __construct) /* returns out of this function */ } - if (zend_hash_find(&ce->properties_info, name_str, name_len + 1, (void **) &property_info) == FAILURE || (property_info->flags | ZEND_ACC_SHADOW)) { + if (zend_hash_find(&ce->properties_info, name_str, name_len + 1, (void **) &property_info) == FAILURE || (property_info->flags & ZEND_ACC_SHADOW)) { zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC, "Property %s::$%s does not exist", ce->name, name_str); return; |