[DOC-CVS] [doc-en] master: $php_errormsg was removed in PHP 8.0 (#4650)

[email protected] (DanielEScherzer via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: DanielEScherzer (DanielEScherzer)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2025-05-06T10:16:05+02:00

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

$php_errormsg was removed in PHP 8.0 (#4650)

* $php_errormsg was removed in PHP 8.0

See php/php-src@920b4b249f71e6cbfd795f81c6a08126a33c659e
Use `&warn.deprecated.function-7-2-0.removed-8-0-0;` instead of
`&warn.deprecated.feature-7-2-0;`

* feature not function

Changed paths:
  M  language/predefined/variables/phperrormsg.xml


Diff:

diff --git a/language/predefined/variables/phperrormsg.xml b/language/predefined/variables/phperrormsg.xml
index 8050a1d0de5e..1299122ad312 100644
--- a/language/predefined/variables/phperrormsg.xml
+++ b/language/predefined/variables/phperrormsg.xml
@@ -8,7 +8,7 @@
  </refnamediv>
 
  <refsynopsisdiv>
-  &warn.deprecated.feature-7-2-0;
+  &warn.deprecated.feature-7-2-0.removed-8-0-0;
   <simpara>
    Use <function>error_get_last</function> instead.
   </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.