Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions appendices/ini.core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<entry><link linkend="ini.disable-classes">disable_classes</link></entry>
<entry>""</entry>
<entry>&php.ini; only</entry>
<entry></entry>
<entry>Removed as of PHP 8.5.0</entry>
</row>
<row>
<entry><link linkend="ini.exit-on-timeout">exit_on_timeout</link></entry>
Expand Down Expand Up @@ -235,15 +235,15 @@
<type>string</type>
</term>
<listitem>
<para>
<simpara>
This directive allows certain classes to be disabled.
It takes a comma-delimited list of class names.
Disabling a class just prevents the class's instantiation.
</para>
<para>
</simpara>
<simpara>
Only internal classes can be disabled using this directive.
User-defined classes are unaffected.
</para>
</simpara>
<simpara>
This directive must be set in &php.ini;.
It cannot be set in &httpd.conf;.
Expand All @@ -254,6 +254,7 @@
sufficient security measure for shared hosting environments.
</simpara>
</warning>
&warn.removed.feature-8-5-0;
</listitem>
</varlistentry>

Expand Down Expand Up @@ -599,7 +600,7 @@ Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unk
<entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry>
<entry>"1"</entry>
<entry><constant>INI_PERDIR</constant></entry>
<entry></entry>
<entry>Deprecated as of PHP 8.5.0 and will be removed in the future</entry>
</row>
<row>
<entry><link linkend="ini.enable-post-data-reading">enable_post_data_reading</link></entry>
Expand Down Expand Up @@ -789,6 +790,14 @@ Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unk
<simpara>
See also <link linkend="features.commandline">command line</link>.
</simpara>
&warn.deprecated.feature-8-5-0;
<note>
<simpara>
Configure <literal>register_argc_argv=0</literal> and switch to either <varname>$_GET</varname>
or <varname>$_SERVER['QUERY_STRING']</varname> to access the information,
after verifying that the usage is safe.
</simpara>
</note>
</listitem>
</varlistentry>

Expand Down
6 changes: 3 additions & 3 deletions appendices/ini.list.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
<entry><link linkend="ini.disable-classes">disable_classes</link></entry>
<entry><literal>""</literal></entry>
<entry>&php.ini; only</entry>
<entry></entry>
<entry>Removed as of PHP 8.5.0</entry>
</row>
<row>
<entry><link linkend="ini.disable-functions">disable_functions</link></entry>
Expand Down Expand Up @@ -551,13 +551,13 @@
<entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry>
<entry><literal>"1"</literal></entry>
<entry><constant>INI_PERDIR</constant></entry>
<entry></entry>
<entry>Deprecated as of PHP 8.5.0</entry>
</row>
<row>
<entry><link linkend="ini.report-memleaks">report_memleaks</link></entry>
<entry><literal>"1"</literal></entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
<entry>Deprecated as of PHP 8.5.0</entry>
</row>
<row>
<entry>report_zend_debug</entry>
Expand Down
1 change: 1 addition & 0 deletions features/commandline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,7 @@ if (php_sapi_name() === 'cli') {
</informalexample>
</para>
</warning>
&warn.deprecated.feature-8-5-0;
</entry>
</row>
<row>
Expand Down
3 changes: 1 addition & 2 deletions install/fpm/configuration.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1027,8 +1027,7 @@ php_admin_value[memory_limit] = 32M
PHP settings passed with <literal>php_value</literal> or
<literal>php_flag</literal> will overwrite their previous value.
Please note that defining
<link linkend="ini.disable-functions">disable_functions</link> or
<link linkend="ini.disable-classes">disable_classes</link> will
<link linkend="ini.disable-functions">disable_functions</link> will
not overwrite previously defined <filename>php.ini</filename> values,
but will append the new value instead.
</para>
Expand Down
4 changes: 4 additions & 0 deletions language-snippets.ent
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,10 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function was
<!ENTITY warn.removed.alias-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This alias is
<emphasis>REMOVED</emphasis> as of PHP 8.0.0.</simpara></warning>'>

<!ENTITY warn.removed.feature-8-5-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
<emphasis>REMOVED</emphasis> as of PHP 8.5.0.</simpara></warning>'>

<!ENTITY warn.experimental.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This function is
<emphasis>EXPERIMENTAL</emphasis>. The behaviour of this function, its name, and
surrounding documentation may change without notice in a future release of PHP.
Expand Down
7 changes: 4 additions & 3 deletions reference/errorfunc/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<entry><link linkend="ini.report-memleaks">report_memleaks</link></entry>
<entry>"1"</entry>
<entry><constant>INI_ALL</constant></entry>
<entry></entry>
<entry>Deprecated as of PHP 8.5.0</entry>
</row>
<row>
<entry><link linkend="ini.track-errors">track_errors</link></entry>
Expand Down Expand Up @@ -318,7 +318,7 @@
<type>bool</type>
</term>
<listitem>
<para>
<simpara>
If this parameter is set to On (the default), this parameter will show a
report of memory leaks detected by the Zend memory manager. This report
will be sent to stderr on Posix platforms. On Windows, it will be sent
Expand All @@ -327,7 +327,8 @@
This parameter only has effect in a debug build and if
error_reporting includes <constant>E_WARNING</constant> in the allowed
list.
</para>
</simpara>
&warn.deprecated.feature-8-5-0;
</listitem>
</varlistentry>

Expand Down