Skip to content

Commit ac96a57

Browse files
committed
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.
1 parent 596fbf7 commit ac96a57

File tree

1 file changed

+85
-124
lines changed

1 file changed

+85
-124
lines changed

0 commit comments

Comments
 (0)