summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorSammy Kaye Powers <sammyk@php.net>2020-09-24 12:57:43 -0700
committerSammy Kaye Powers <sammyk@php.net>2020-09-25 11:46:15 -0700
commite42abeafeca245950ebc47c7312913e68262d40e (patch)
treebf62186a7ea10351ed31063a3bd2455fa7b978b4 /ext/reflection/php_reflection.c
parenta91cb2f48c275751df1ab0a3f9e9a28c200add77 (diff)
downloadphp-git-e42abeafeca245950ebc47c7312913e68262d40e.tar.gz
Pass zend_execute_data instead of zend_function to fcall init
The motivation for this change is to prevent extensions from having to check executor globals for the current execute_data during function call init. A previous implementation of the observer API initialized the function call from runtime cache initialization before execute_data was allocated which is why zend_function was passed in. But now that the observer API is implemented via opcode specialization, it makes sense to pass in the execute_data. This also keeps the API a bit more consistent for existing extensions that already hook zend_execute_ex. Closes GH-6209
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions