Skip to content

Commit 6b669f4

Browse files
committed
fix sccp code
1 parent 4318f33 commit 6b669f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/Optimizer/sccp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,7 @@ static int try_remove_definition(sccp_ctx *ctx, int var_num, zend_ssa_var *var,
22952295
break;
22962296
case ZEND_INIT_ARRAY:
22972297
case ZEND_ADD_ARRAY_ELEMENT:
2298-
if (opline->op2_type == IS_UNUSED || opline->op2_type == IS_NULL) {
2298+
if (opline->op2_type == IS_UNUSED) {
22992299
return 0;
23002300
}
23012301
/* break missing intentionally */

0 commit comments

Comments
 (0)