mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Reset common fields of EG(trampoline)
This commit is contained in:
commit
d2f196f6f7
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue