diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index 297e8d68492..9ad6d6e50d5 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -4782,7 +4782,7 @@ static int zend_jit_parse_config_num(zend_long jit) JIT_G(opt_level) = jit % 10; jit /= 10; - if (jit % 10 > 5) return FAILURE; + if (jit % 10 > 5 || jit % 10 == 4) return FAILURE; JIT_G(trigger) = jit % 10; jit /= 10;