[DOC-CVS] [doc-en] master: Remove 11 unused entities still referenced by translations (#5628)

[email protected] (Louis-Arnaud via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: alfsb
Date: 2026-08-20T11:22:50-03:00

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

Remove 11 unused entities still referenced by translations (#5628)

Record them as tombstones in entities/entities-remove.ent (translate="remove")
so revcheck gives translations a heads up, instead of a plain deletion.

Changed paths:
  M  entities/entities.remove.ent
  M  language-snippets.ent


Diff:

diff --git a/entities/entities.remove.ent b/entities/entities.remove.ent
index d89a84186494..7e1cdc617ddf 100644
--- a/entities/entities.remove.ent
+++ b/entities/entities.remove.ent
@@ -58,4 +58,17 @@ ON TRANSLATIONS, ONLY UPDATE THE REVTAG.
 <entity name="frontpage.authors"/>
 <entity name="frontpage.editors"/>
 
+<!-- Erased in 2026-08, language-snippets.ent, unused in doc-en -->
+<entity name="changelog.randomseed"/>
+<entity name="date.timezone.errors.changelog"/>
+<entity name="example.outputs.53"/>
+<entity name="example.outputs.54"/>
+<entity name="no.constants"/>
+<entity name="no.resource"/>
+<entity name="note.func-callback"/>
+<entity name="warn.deprecated.alias-5-3-0.removed-7-0-0"/>
+<entity name="warn.deprecated.feature-5-3-0.removed-5-4-0"/>
+<entity name="warn.deprecated.feature-7-2-0"/>
+<entity name="warn.deprecated.function-7-4-0"/>
+
 </entities>
diff --git a/language-snippets.ent b/language-snippets.ent
index 9081355b5965..06adc0e2dcfd 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -3,9 +3,6 @@
 
 <!ENTITY installation.enabled.disable 'This extension is enabled by default. It may be disabled by using the following option at compile time: '>
 
-<!ENTITY changelog.randomseed '<row xmlns="http://docbook.org/ns/docbook"><entry>4.2.0</entry><entry>The random
-number generator is seeded automatically.</entry></row>'>
-
 <!ENTITY changelog.class-constants-typed '<row xmlns="http://docbook.org/ns/docbook">
  <entry>8.4.0</entry>
  <entry>
@@ -88,9 +85,6 @@ do not support some characters in filenames, namely <literal>&lt;|&gt;*?":</lite
 are not supported either. Contrary to some extraction tools, this method does not replace these characters with
 an underscore, but instead fails to extract such files.</simpara></note>'>
 
-<!ENTITY note.func-callback '<note xmlns="http://docbook.org/ns/docbook"><simpara>Instead of a function name, an
-array containing an object reference and a method name can also be
-supplied.</simpara></note>'>
 <!ENTITY note.func-callback-exceptions '<note xmlns="http://docbook.org/ns/docbook"><simpara>Callbacks registered
 with functions such as <function>call_user_func</function> and <function>call_user_func_array</function> will not be
 called if there is an uncaught exception thrown in a previous callback.</simpara></note>'>
@@ -238,10 +232,6 @@ This extension should be used at your own risk.</simpara></warning>'>
 <!ENTITY deprecated.function 'Deprecated this function.'>
 <!ENTITY removed.function 'Removed this function.'>
 
-<!ENTITY warn.deprecated.feature-5-3-0.removed-5-4-0 '<warning
-xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
-<emphasis>DEPRECATED</emphasis> as of PHP 5.3.0 and <emphasis>REMOVED</emphasis>
-as of PHP 5.4.0.</simpara></warning>'>
 <!ENTITY warn.deprecated.feature-5-6-0 '<warning
 xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
 <emphasis>DEPRECATED</emphasis> as of PHP 5.6.0. Relying on this feature
@@ -264,10 +254,6 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
 <emphasis>REMOVED</emphasis> as of PHP 7.2.0. Relying on this function
 is highly discouraged.</simpara></warning>'>
 
-<!ENTITY warn.deprecated.feature-7-2-0 '<warning
-xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
-<emphasis>DEPRECATED</emphasis> as of PHP 7.2.0. Relying on this feature
-is highly discouraged.</simpara></warning>'>
 <!ENTITY warn.deprecated.feature-7-2-0.removed-8-0-0 '<warning
 xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
 <emphasis>DEPRECATED</emphasis> as of PHP 7.2.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0. Relying on this feature
@@ -288,10 +274,6 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
 <emphasis>DEPRECATED</emphasis> as of PHP 7.3.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0. Relying on this function
 is highly discouraged.</simpara></warning>'>
 
-<!ENTITY warn.deprecated.function-7-4-0 '<warning
-xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
-<emphasis>DEPRECATED</emphasis> as of PHP 7.4.0. Relying on this function
-is highly discouraged.</simpara></warning>'>
 <!ENTITY warn.deprecated.function-7-4-0.removed-8-0-0 '<warning
 xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
 <emphasis>DEPRECATED</emphasis> as of PHP 7.4.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0. Relying on this function
@@ -353,8 +335,6 @@ certainly be <emphasis xmlns="http://docbook.org/ns/docbook">removed</emphasis>
 <simpara>This alias has been <emphasis>DEPRECATED</emphasis> as of PHP 5.4.0.  Relying
 on this alias is highly discouraged.</simpara></warning>'>
 
-<!ENTITY warn.deprecated.alias-5-3-0.removed-7-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This alias was
-<emphasis>DEPRECATED</emphasis> in PHP 5.3.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
 <!ENTITY warn.removed.function-7-0-0 '<warning
 xmlns="http://docbook.org/ns/docbook"><simpara>This function was
 <emphasis>REMOVED</emphasis> in PHP 7.0.0.</simpara></warning>'>
@@ -466,8 +446,6 @@ is highly discouraged.</simpara></warning>
 
 <!ENTITY example.outputs.5 '<simpara xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 5:</simpara>'>
 
-<!ENTITY example.outputs.53 '<simpara xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 5.3:</simpara>'>
-<!ENTITY example.outputs.54 '<simpara xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 5.4:</simpara>'>
 <!ENTITY example.outputs.55 '<simpara xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 5.5:</simpara>'>
 
 <!ENTITY example.outputs.56 '<simpara xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 5.6:</simpara>'>
@@ -1421,9 +1399,6 @@ Furthermore, these timezones may be removed from the IANA timezone database at a
 Every call to a date/time function will generate a <constant>E_WARNING</constant>
 if the time zone is not valid. See also <function>date_default_timezone_set</function></simpara>'>
 
-<!ENTITY date.timezone.errors.changelog '<row xmlns="http://docbook.org/ns/docbook"><entry>5.1.0</entry><entry><simpara>
-Now issues the <constant>E_STRICT</constant> and <constant>E_NOTICE</constant>
-time zone errors.</simpara></entry></row>'>
 <!ENTITY date.timestamp.description '
 <varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>timestamp</parameter></term><listitem><simpara>
 The optional <parameter>timestamp</parameter> parameter is an
@@ -1939,8 +1914,6 @@ or <link linkend="functions.named-arguments">named arguments</link>.</simpara>
 
 <!-- Common pieces in partintro-sections -->
 <!ENTITY no.config '<simpara xmlns="http://docbook.org/ns/docbook">This extension has no configuration directives defined in &php.ini;.</simpara>'>
-<!ENTITY no.resource '<simpara xmlns="http://docbook.org/ns/docbook">This extension has no resource types defined.</simpara>'>
-<!ENTITY no.constants '<simpara xmlns="http://docbook.org/ns/docbook">This extension has no constants defined.</simpara>'>
 <!ENTITY no.requirement '<simpara xmlns="http://docbook.org/ns/docbook">No external libraries are needed to build this extension.</simpara>'>
 <!ENTITY no.install '<simpara xmlns="http://docbook.org/ns/docbook">There is no installation needed to use these
 functions; they are part of the PHP core.</simpara>'>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.