From 5a0edc07db313ed24dd9afbc7ddc71b36c19a913 Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Date: Fri, 10 Jul 2026 14:04:58 +0200 Subject: [PATCH 1/2] ext/opcache: Fix JIT default-mode wording and document fatal error on JIT init failure (8.4.0) --- reference/opcache/ini.xml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index 3d45f0d638f4..c1077de44303 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -1158,7 +1158,8 @@ function getA() { return A; } off: Disabled, but can be enabled at runtime. tracing/on: Use tracing JIT. - Enabled by default and recommended for most users. + Recommended for most users. Prior to PHP 8.4.0, this was the default + value; as of PHP 8.4.0 the default is disable. function: Use function JIT. @@ -1220,6 +1221,12 @@ function getA() { return A; } The "tracing" mode corresponds to CRTO = 1254, the "function" mode corresponds to CRTO = 1205. + + + As of PHP 8.4.0, if the JIT is enabled, PHP exits with a fatal error + during startup when JIT initialization fails. + + From a263b23baed0255a5745058c1730332e2d1e013e Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Date: Fri, 14 Aug 2026 14:52:03 +0200 Subject: [PATCH 2/2] Update ini.xml Co-authored-by: Jordi Kroon --- reference/opcache/ini.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml index c1077de44303..966af001f32f 100644 --- a/reference/opcache/ini.xml +++ b/reference/opcache/ini.xml @@ -1223,7 +1223,7 @@ function getA() { return A; } - As of PHP 8.4.0, if the JIT is enabled, PHP exits with a fatal error + As of PHP 8.4.0, if JIT is enabled, PHP exits with a fatal error during startup when JIT initialization fails.