We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d703aed commit 8d8ec74Copy full SHA for 8d8ec74
1 file changed
Zend/zend_object_handlers.c
@@ -1685,7 +1685,6 @@ ZEND_API ZEND_ATTRIBUTE_NONNULL zend_function *zend_get_call_trampoline_func(
1685
* The low bit must be zero, to not be interpreted as a MAP_PTR offset.
1686
*/
1687
static const void *dummy = (void*)(intptr_t)2;
1688
- static const zend_arg_info arg_info[1] = {{0}};
1689
1690
if (EXPECTED(EG(trampoline).common.function_name == NULL)) {
1691
func = &EG(trampoline).op_array;
@@ -1732,7 +1731,7 @@ ZEND_API ZEND_ATTRIBUTE_NONNULL zend_function *zend_get_call_trampoline_func(
1732
1731
func->prop_info = NULL;
1733
func->num_args = 0;
1734
func->required_num_args = 0;
1735
- func->arg_info = (zend_arg_info *) arg_info;
+ func->arg_info = zend_call_trampoline_arginfo;
1736
1737
return (zend_function*)func;
1738
}
0 commit comments