Skip to content

Commit e335630

Browse files
committed
Merge branch 'PHP-8.2'
* PHP-8.2: Fix incorrect check condition in type inference (#10425)
2 parents 4cd9298 + 227b3b3 commit e335630

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
@@ -2537,7 +2537,7 @@ static zend_always_inline zend_result _zend_update_type_info(
25372537
UPDATE_SSA_TYPE(orig, ssa_op->op1_def);
25382538
COPY_SSA_OBJ_TYPE(ssa_op->op1_use, ssa_op->op1_def);
25392539
}
2540-
} else if (opline->opcode == ZEND_ASSIGN_STATIC_PROP) {
2540+
} else if (opline->opcode == ZEND_ASSIGN_STATIC_PROP_OP) {
25412541
/* Nothing to do */
25422542
} else {
25432543
if (opline->opcode == ZEND_ASSIGN_OP && ssa_op->result_def >= 0 && (tmp & MAY_BE_RC1)) {

0 commit comments

Comments
 (0)