[DOC-CVS] [doc-en] master: Add entity for PHP 8.5 deprecations. (#4894)

[email protected] (Larry Garfield via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Larry Garfield (Crell)
Committer: GitHub (web-flow)
Pusher: Crell
Date: 2025-10-03T11:03:35-05:00

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

Add entity for PHP 8.5 deprecations. (#4894)

* Add entity for PHP 8.5 deprecations.

* Deprecated feature, too.

* Fix ordering of deprecation entities

---------

Co-authored-by: Tim Düsterhus <[email protected]>

Changed paths:
  M  language-snippets.ent


Diff:

diff --git a/language-snippets.ent b/language-snippets.ent
index b43d7ea19db5..6cce6a0e2e0a 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -376,6 +376,16 @@ xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
 <emphasis>DEPRECATED</emphasis> as of PHP 8.4.0. Relying on this function
 is highly discouraged.</simpara></warning>'>
 
+<!ENTITY warn.deprecated.feature-8-5-0 '<warning
+xmlns="http://docbook.org/ns/docbook"><simpara>This feature has been
+<emphasis>DEPRECATED</emphasis> as of PHP 8.5.0. Relying on this feature
+is highly discouraged.</simpara></warning>'>
+
+<!ENTITY warn.deprecated.function-8-5-0 '<warning
+xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
+<emphasis>DEPRECATED</emphasis> as of PHP 8.5.0. Relying on this function
+is highly discouraged.</simpara></warning>'>
+
 <!ENTITY removed.php.future 'This deprecated feature <emphasis xmlns="http://docbook.org/ns/docbook">will</emphasis>
 certainly be <emphasis xmlns="http://docbook.org/ns/docbook">removed</emphasis> in the future.'>
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.