[doc-en] master: appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 (#5799)
| From: | Louis-Arnaud via GitHub | Date: | Mon, 31 Aug 2026 07:29:49 +0000 |
| Subject: | [doc-en] master: appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 (#5799) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23671@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-08-31T09:29:47+02:00
Commit: https://github.com/php/doc-en/commit/5a91c9a81ee5c2560a15f1fca84bc5a6148cca9a
Raw diff: https://github.com/php/doc-en/commit/5a91c9a81ee5c2560a15f1fca84bc5a6148cca9a.diff
appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 (#5799)
reserved.constants.core.xml
- split E_STRICT out of the shared listitem so the note applies to it
alone, and state that the constant is unused and deprecated, matching
the wording of reference/errorfunc/constants.xml
- the new varlistentry carries no xml:id on purpose: constant.e-strict
is already used by reference/errorfunc/constants.xml
tokens.xml
- T_PROPERTY_C is the last of the four tokens added in 8.4.0 still
missing its version annotation, the other three (T_PRIVATE_SET,
T_PROTECTED_SET, T_PUBLIC_SET) already carry it
Sources
- E_STRICT constant deprecated, error level removed:
https://wiki.php.net/rfc/deprecations_php_8_4#remove_e_strict_error_level_and_deprecate_e_strict_constant
- T_PROPERTY_C / __PROPERTY__: https://wiki.php.net/rfc/property-hooks
Changed paths:
M appendices/reserved.constants.core.xml
M appendices/tokens.xml
Diff:
diff --git a/appendices/reserved.constants.core.xml b/appendices/reserved.constants.core.xml
index b70058ad619c..c21e9a3d1041 100644
--- a/appendices/reserved.constants.core.xml
+++ b/appendices/reserved.constants.core.xml
@@ -587,13 +587,21 @@
<constant>E_ALL</constant>
(<type>int</type>)
</term>
+ <listitem>
+ <simpara>
+ <link linkend="errorfunc.constants">Error reporting constants</link>.
+ </simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term>
<constant>E_STRICT</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
- <link linkend="errorfunc.constants">Error reporting constants</link>
+ <link linkend="errorfunc.constants">Error reporting constants</link>.
+ This constant is unused, and has been deprecated as of PHP 8.4.0.
</simpara>
</listitem>
</varlistentry>
diff --git a/appendices/tokens.xml b/appendices/tokens.xml
index fd8aab8f18d3..7a4223faba29 100644
--- a/appendices/tokens.xml
+++ b/appendices/tokens.xml
@@ -1070,7 +1070,7 @@ defined('T_FN') || define('T_FN', 10001);
</entry>
<entry>__PROPERTY__</entry>
<entry>
- <link linkend="language.constants.magic">magic constants</link>
+ <link linkend="language.constants.magic">magic constants</link>
(available as of PHP 8.4.0)
</entry>
</row>
<row xml:id="constant.t-protected">