Document opcache.preload

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346615 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2019-01-21 15:27:35 +00:00
parent 66e3e8f0d0
commit 8eda99cb3b

View file

@ -239,6 +239,12 @@
<entry>PHP_INI_SYSTEM</entry>
<entry>Available as of PHP 7.0.14</entry>
</row>
<row>
<entry><link linkend="ini.opcache.preload">opcache.preload</link></entry>
<entry>""</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available as of PHP 7.4.0</entry>
</row>
</tbody>
</tgroup>
</table>
@ -770,6 +776,21 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.opcache.preload">
<term>
<parameter>opcache.preload</parameter>
<type>string</type>
</term>
<listitem>
<para>
Specifies a PHP script that is going to be compiled and executed at server start-up,
and which may preload other files, either by <function>include</function>ing them or by
using the <function>opcache_compile_file</function> function. All the entities (e.g.
functions and classes) defined in these files will be available to requests out of
the box, until the server is shut down.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</sect1>