Skip to content

Commit d2f196f

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Reset common fields of EG(trampoline)
2 parents 6c81c4b + 223d535 commit d2f196f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zend/zend_object_handlers.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,11 @@ ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend
12081208
func->function_name = zend_string_copy(method_name);
12091209
}
12101210

1211+
func->prototype = NULL;
1212+
func->num_args = 0;
1213+
func->required_num_args = 0;
1214+
func->arg_info = 0;
1215+
12111216
return (zend_function*)func;
12121217
}
12131218
/* }}} */

0 commit comments

Comments
 (0)