Skip to content

Commit c2456e9

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fixed missed exception
2 parents 887ed94 + a351121 commit c2456e9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Zend/Optimizer/zend_inference.c

+3
Original file line numberDiff line numberDiff line change
@@ -5189,6 +5189,9 @@ ZEND_API bool zend_may_throw_ex(const zend_op *opline, const zend_ssa_op *ssa_op
51895189
return 1;
51905190
}
51915191
}
5192+
if (t1 & (MAY_BE_ARRAY_OF_OBJECT|MAY_BE_ARRAY_OF_RESOURCE|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_REF)) {
5193+
return 1;
5194+
}
51925195
return (t1 & (MAY_BE_OBJECT|MAY_BE_RESOURCE|MAY_BE_TRUE|MAY_BE_FALSE|MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE)) || opline->op2_type == IS_UNUSED ||
51935196
(t2 & (MAY_BE_UNDEF|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE));
51945197
case ZEND_ASSIGN_OBJ:

0 commit comments

Comments
 (0)