Skip to content

Commit 7280aba

Browse files
committed
Missing warning
1 parent 54bc7b5 commit 7280aba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/opcache/Optimizer/zend_inference.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4196,8 +4196,9 @@ int zend_may_throw(const zend_op *opline, zend_op_array *op_array, zend_ssa *ssa
41964196
case ZEND_FETCH_IS:
41974197
return (t2 & (MAY_BE_ARRAY|MAY_BE_OBJECT));
41984198
case ZEND_ISSET_ISEMPTY_DIM_OBJ:
4199-
case ZEND_FETCH_DIM_IS:
42004199
return (t1 & MAY_BE_OBJECT) || (t2 & (MAY_BE_ARRAY|MAY_BE_OBJECT));
4200+
case ZEND_FETCH_DIM_IS:
4201+
return (t1 & MAY_BE_OBJECT) || (t2 & (MAY_BE_ARRAY|MAY_BE_OBJECT|MAY_BE_RESOURCE));
42014202
case ZEND_CAST:
42024203
switch (opline->extended_value) {
42034204
case IS_NULL:

0 commit comments

Comments
 (0)