Skip to content

Commit bdcb218

Browse files
committed
Merge branch 'PHP-8.3'
* PHP-8.3: Fix GH-15820: Core dumped with jit.opcache=1245
2 parents 201c691 + 43202d2 commit bdcb218

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3348,7 +3348,7 @@ static int zend_jit_parse_config_num(zend_long jit)
33483348
JIT_G(opt_level) = jit % 10;
33493349

33503350
jit /= 10;
3351-
if (jit % 10 > 5) return FAILURE;
3351+
if (jit % 10 > 5 || jit % 10 == 4) return FAILURE;
33523352
JIT_G(trigger) = jit % 10;
33533353

33543354
jit /= 10;

0 commit comments

Comments
 (0)