mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Skip frameless functions with zend_execute_internal
zend_execute_internal is used to intercept function calls. We must use the DO_FCALL opcode in this instance.
This commit is contained in:
parent
49ebfb04ef
commit
18cdfd3f51
1 changed files with 1 additions and 1 deletions
|
@ -4543,7 +4543,7 @@ static uint32_t find_frameless_function_offset(uint32_t arity, void *handler)
|
||||||
|
|
||||||
static const zend_frameless_function_info *find_frameless_function_info(zend_ast_list *args, zend_function *fbc, uint32_t type)
|
static const zend_frameless_function_info *find_frameless_function_info(zend_ast_list *args, zend_function *fbc, uint32_t type)
|
||||||
{
|
{
|
||||||
if (ZEND_OBSERVER_ENABLED) {
|
if (ZEND_OBSERVER_ENABLED || zend_execute_internal) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue