We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57b362b commit d423910Copy full SHA for d423910
Zend/zend_execute.c
@@ -1210,8 +1210,8 @@ static zend_never_inline ZEND_ATTRIBUTE_UNUSED bool zend_verify_internal_arg_typ
1210
* trust that arginfo matches what is enforced by zend_parse_parameters. */
1211
ZEND_API bool zend_internal_call_should_throw(zend_function *fbc, zend_execute_data *call)
1212
{
1213
- if (fbc->internal_function.handler == ZEND_FN(pass) || (fbc->internal_function.fn_flags | ZEND_ACC_FAKE_CLOSURE)) {
1214
- /* Be lenient about the special pass function and about fake closures. */
+ if (fbc->internal_function.handler == ZEND_FN(pass)) {
+ /* Be lenient about the special pass function. */
1215
return 0;
1216
}
1217
0 commit comments