diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-11-01 22:56:25 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-11-01 22:56:25 +0300 |
commit | bdc1ba3e3a314da472ef132e233f8b37ddac39e1 (patch) | |
tree | 280b5348370585dabe2eef2e30fb2efdf548009a /ext/reflection/php_reflection.c | |
parent | b281362681bea63b139b89f5943e5c220bf0b82d (diff) | |
download | php-git-bdc1ba3e3a314da472ef132e233f8b37ddac39e1.tar.gz |
Intriduced ZEND_ACC_INHERITED class flag.
It's going to be helpful for static optimisations, when "parent" is not known yet.
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 9ecb04d461..1169bb682c 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -4783,7 +4783,7 @@ ZEND_METHOD(reflection_class, getModifiers) } GET_REFLECTION_OBJECT_PTR(ce); - RETURN_LONG(ce->ce_flags & ~(ZEND_ACC_CONSTANTS_UPDATED|ZEND_ACC_USE_GUARDS)); + RETURN_LONG(ce->ce_flags & ~(ZEND_ACC_CONSTANTS_UPDATED|ZEND_ACC_USE_GUARDS|ZEND_ACC_INHERITED)); } /* }}} */ |