Skip to content

Commit bc9d032

Browse files
committed
fix sccp code
1 parent 476455b commit bc9d032

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
@@ -2293,7 +2293,7 @@ static uint32_t try_remove_definition(sccp_ctx *ctx, int var_num, zend_ssa_var *
22932293
break;
22942294
case ZEND_INIT_ARRAY:
22952295
case ZEND_ADD_ARRAY_ELEMENT:
2296-
if (opline->op2_type == IS_UNUSED || opline->op2_type == IS_NULL) {
2296+
if (opline->op2_type == IS_UNUSED) {
22972297
return 0;
22982298
}
22992299
/* break missing intentionally */

0 commit comments

Comments
 (0)