mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -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)
|
||||
{
|
||||
if (ZEND_OBSERVER_ENABLED) {
|
||||
if (ZEND_OBSERVER_ENABLED || zend_execute_internal) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user