summaryrefslogtreecommitdiff
path: root/ext/opcache/Optimizer/pass1.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/Optimizer/pass1.c')
-rw-r--r--ext/opcache/Optimizer/pass1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/opcache/Optimizer/pass1.c b/ext/opcache/Optimizer/pass1.c
index fee0e1eac3..74f6153670 100644
--- a/ext/opcache/Optimizer/pass1.c
+++ b/ext/opcache/Optimizer/pass1.c
@@ -676,6 +676,7 @@ constant_binary_op:
case ZEND_JMP_SET:
case ZEND_COALESCE:
case ZEND_ASSERT_CHECK:
+ case ZEND_JMP_NULL:
collect_constants = 0;
break;
}