summaryrefslogtreecommitdiff
path: root/Zend/zend_inheritance.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2018-10-02 23:28:38 +0200
committerNikita Popov <nikita.ppv@gmail.com>2018-10-03 10:37:42 +0200
commitac96a57818f02b996538c1562a965c9e5b85c712 (patch)
tree7be8daf1d78d4c1933a4d9c28009c6ecc14a08ea /Zend/zend_inheritance.c
parent596fbf7393777cb14006813111875db5b0a21d3b (diff)
downloadphp-git-ac96a57818f02b996538c1562a965c9e5b85c712.tar.gz
Remove uses of apply_with_arguments API in reflection
Instead of ZEND_HASH_FOREACH. As a side-effect, this fixes a latent bug in _addmethod, where a zval was interpreted as a zval*. Also apply some optimizations to getProperties() while at it: For declared properties, use the HT key instead of unmangling the property name. For dynamic properties check INDIRECT instead of looking up prop info to determine if the property is dynamic.
Diffstat (limited to 'Zend/zend_inheritance.c')
0 files changed, 0 insertions, 0 deletions