Skip to content

Commit 1eaa527

Browse files
committed
Add ZEND_EXT_STMT to keeps_op1_alive as per review
1 parent 2e50c8d commit 1eaa527

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Zend/zend_opcode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,8 @@ static bool keeps_op1_alive(zend_op *opline) {
903903
|| opline->opcode == ZEND_MATCH_ERROR
904904
|| opline->opcode == ZEND_FETCH_LIST_R
905905
|| opline->opcode == ZEND_FETCH_LIST_W
906-
|| opline->opcode == ZEND_COPY_TMP) {
906+
|| opline->opcode == ZEND_COPY_TMP
907+
|| opline->opcode == ZEND_EXT_STMT) {
907908
return 1;
908909
}
909910
ZEND_ASSERT(opline->opcode != ZEND_FE_FETCH_R

0 commit comments

Comments
 (0)