From 4a8c75b32bb42221345293a5759a8799e4442158 Mon Sep 17 00:00:00 2001 From: Louis-Arnaud Date: Sun, 16 Aug 2026 19:46:10 +0200 Subject: [PATCH] appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 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 --- appendices/reserved.constants.core.xml | 10 +++++++++- appendices/tokens.xml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) 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 @@ E_ALL (int) + + + Error reporting constants. + + + + E_STRICT (int) - Error reporting constants + Error reporting constants. + This constant is unused, and has been deprecated as of PHP 8.4.0. 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); __PROPERTY__ - magic constants + magic constants (available as of PHP 8.4.0)