mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
Merge branch 'PHP-7.4'
* PHP-7.4: Reset common fields of EG(trampoline)
This commit is contained in:
commit
d2f196f6f7
@ -1208,6 +1208,11 @@ ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend
|
||||
func->function_name = zend_string_copy(method_name);
|
||||
}
|
||||
|
||||
func->prototype = NULL;
|
||||
func->num_args = 0;
|
||||
func->required_num_args = 0;
|
||||
func->arg_info = 0;
|
||||
|
||||
return (zend_function*)func;
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user