1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Fix GH-15820: Core dumped with jit.opcache=1245
This commit is contained in:
Dmitry Stogov
2024-09-10 15:44:24 +03:00

View File

@@ -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;