File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ PHP NEWS
2
2
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3
3
?? ??? ????, PHP 8.2.0RC6
4
4
5
+ - Core:
6
+ . Fixed bug GH-9823 (Don’t reset func in zend_closure_internal_handler).
7
+ (Florian Sowade)
8
+
5
9
- PDO:
6
10
. Fixed bug GH-9818 (Initialize run time cache in PDO methods).
7
11
(Florian Sowade)
Original file line number Diff line number Diff line change @@ -1210,8 +1210,8 @@ static zend_never_inline ZEND_ATTRIBUTE_UNUSED bool zend_verify_internal_arg_typ
1210
1210
* trust that arginfo matches what is enforced by zend_parse_parameters. */
1211
1211
ZEND_API bool zend_internal_call_should_throw (zend_function * fbc , zend_execute_data * call )
1212
1212
{
1213
- if (fbc -> internal_function .handler == ZEND_FN (pass )) {
1214
- /* Be lenient about the special pass function. */
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 . */
1215
1215
return 0 ;
1216
1216
}
1217
1217
You can’t perform that action at this time.
0 commit comments