Skip to content

Commit 5f9b9c4

Browse files
dstogoviluuu1994
authored andcommitted
Fixed missed exception
1 parent a7a7e6d commit 5f9b9c4

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
@@ -5051,6 +5051,9 @@ ZEND_API bool zend_may_throw_ex(const zend_op *opline, const zend_ssa_op *ssa_op
50515051
return 1;
50525052
}
50535053
}
5054+
if (t1 & (MAY_BE_ARRAY_OF_OBJECT|MAY_BE_ARRAY_OF_RESOURCE|MAY_BE_ARRAY_OF_ARRAY|MAY_BE_ARRAY_OF_REF)) {
5055+
return 1;
5056+
}
50545057
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 ||
50555058
(t2 & (MAY_BE_UNDEF|MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE));
50565059
case ZEND_ASSIGN_OBJ:

0 commit comments

Comments
 (0)