We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d631c4 commit b32b283Copy full SHA for b32b283
Zend/zend_execute.c
@@ -1417,8 +1417,8 @@ binary_assign_op_addr: {
1417
case ZEND_SEND_VAR:
1418
if (function_being_called
1419
&& function_being_called->common.arg_types
1420
- && opline->op2.u.opline_num<function_being_called->common.arg_types[0]
1421
- && function_being_called->common.arg_types[1+opline->op2.u.opline_num]==BYREF_FORCE) {
+ && opline->op2.u.opline_num<=function_being_called->common.arg_types[0]
+ && function_being_called->common.arg_types[opline->op2.u.opline_num]==BYREF_FORCE) {
1422
goto send_by_ref;
1423
}
1424
{
0 commit comments