[DOC-CVS] [doc-en] master: Update opcache.jit_hot_loop (#4685)

[email protected] (Arnaud Le Blanc via GitHub) Thu, 14 May 2026 08:18:59 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Arnaud Le Blanc (arnaud-lb)
Committer: GitHub (web-flow)
Pusher: arnaud-lb
Date: 2026-05-14T10:18:55+02:00

Commit: https://github.com/php/doc-en/commit/f2cdcd5af4558c22db95463b6ccdd25e4cea3cf5
Raw diff: https://github.com/php/doc-en/commit/f2cdcd5af4558c22db95463b6ccdd25e4cea3cf5.diff

Update opcache.jit_hot_loop (#4685)

Changed paths:
  M  reference/opcache/ini.xml


Diff:

diff --git a/reference/opcache/ini.xml b/reference/opcache/ini.xml
index a8e1b2d484e8..3d45f0d638f4 100644
--- a/reference/opcache/ini.xml
+++ b/reference/opcache/ini.xml
@@ -306,9 +306,9 @@
      </row>
      <row>
       <entry><link linkend="ini.opcache.jit-hot-loop">opcache.jit_hot_loop</link></entry>
-      <entry>64</entry>
+      <entry>61</entry>
       <entry><constant>INI_SYSTEM</constant></entry>
-      <entry>Available as of PHP 8.0.0</entry>
+      <entry>Available as of PHP 8.0.0. Before PHP 8.5.0, the default value was 64</entry>
      </row>
      <row>
       <entry><link linkend="ini.opcache.jit-hot-func">opcache.jit_hot_func</link></entry>
@@ -1325,6 +1325,12 @@ function getA() { return A; }
      e.g. <literal>-1</literal> or <literal>256</literal>, default value will be
      used instead. <literal>0</literal> will disable JIT to trace and compile any loops.
     </simpara>
+    <note>
+     <simpara>
+      It is recommended that this parameter is set to a prime number,
+      to prevent it from being a multiple of loop iteration counts.
+     </simpara>
+    </note>
    </listitem>
   </varlistentry>
   <varlistentry xml:id="ini.opcache.jit-hot-func">