Merge branch 'PHP-8.3'

* PHP-8.3:
  Fix GH-15820: Core dumped with jit.opcache=1245
This commit is contained in:
Dmitry Stogov 2024-09-10 15:45:00 +03:00
commit bdcb2185aa
No known key found for this signature in database

View File

@ -3348,7 +3348,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;