Skip to content

Commit f12e025

Browse files
committed
replace deprecated feature warnings with entity reference
1 parent 088e00d commit f12e025

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

appendices/ini.core.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,7 @@
242242
This directive must be set in &php.ini;.
243243
It cannot be set in &httpd.conf;.
244244
</simpara>
245-
<warning>
246-
<simpara>
247-
This feature has been <emphasis>REMOVED</emphasis> as of PHP 8.5.0.
248-
</simpara>
249-
</warning>
245+
&warn.removed.feature-8-5-0;
250246
</listitem>
251247
</varlistentry>
252248

@@ -785,11 +781,15 @@ Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unk
785781
<warning>
786782
<simpara>
787783
This feature has been <emphasis>DEPRECATED</emphasis> as of PHP 8.5.0.
784+
</simpara>
785+
</warning>
786+
<note>
787+
<simpara>
788788
Configure <literal>register_argc_argv=0</literal> and switch to either <varname>$_GET</varname>
789789
or <varname>$_SERVER['QUERY_STRING']</varname> to access the information,
790790
after verifying that the usage is safe.
791791
</simpara>
792-
</warning>
792+
</note>
793793
</listitem>
794794
</varlistentry>
795795

language-snippets.ent

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,10 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function was
462462
<!ENTITY warn.removed.alias-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This alias is
463463
<emphasis>REMOVED</emphasis> as of PHP 8.0.0.</simpara></warning>'>
464464

465+
<!ENTITY warn.removed.feature-8-5-0 '<warning
466+
xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
467+
<emphasis>REMOVED</emphasis> as of PHP 8.5.0.</simpara></warning>'>
468+
465469
<!ENTITY warn.experimental.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This function is
466470
<emphasis>EXPERIMENTAL</emphasis>. The behaviour of this function, its name, and
467471
surrounding documentation may change without notice in a future release of PHP.

0 commit comments

Comments
 (0)