Skip to content

Commit e857b2f

Browse files
committed
Fix ZEND_FETCH_STATIC_PROP_IS type inference
1 parent 62e843f commit e857b2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/zend_inference.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3835,7 +3835,7 @@ static zend_always_inline zend_result _zend_update_type_info(
38353835
tmp &= ~MAY_BE_RC1;
38363836
}
38373837
if (opline->opcode == ZEND_FETCH_STATIC_PROP_IS) {
3838-
tmp |= MAY_BE_UNDEF;
3838+
tmp |= MAY_BE_NULL;
38393839
}
38403840
}
38413841
UPDATE_SSA_TYPE(tmp, ssa_op->result_def);

0 commit comments

Comments
 (0)