Skip to content

appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 - #5799

Open
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/reserved-constants-fixes
Open

appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0#5799
lacatoire wants to merge 1 commit into
php:masterfrom
lacatoire:sync-src/reserved-constants-fixes

Conversation

@lacatoire

@lacatoire lacatoire commented Aug 26, 2026

Copy link
Copy Markdown
Member

Two 8.4.0 annotations missing from the appendices.

appendices/reserved.constants.core.xml

  • E_STRICT is split out of the shared listitem so the note applies to it alone, and states that the constant is unused and deprecated, matching the wording already used by reference/errorfunc/constants.xml
  • the new varlistentry carries no xml:id on purpose: constant.e-strict is already taken by reference/errorfunc/constants.xml, a duplicate would break the build

appendices/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

Change Source
E_STRICT constant deprecated, error level removed RFC: Deprecations for PHP 8.4 - CONST_DEPRECATED in Zend/zend_constants.stub.php
T_PROPERTY_C / __PROPERTY__ RFC: Property hooks - Zend/zend_language_scanner.l

…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
@lacatoire
lacatoire force-pushed the sync-src/reserved-constants-fixes branch from 3ba19a1 to 4a8c75b Compare August 26, 2026 09:29
@lacatoire lacatoire changed the title appendices: note E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 appendices: note the E_STRICT deprecation (8.4.0), mark T_PROPERTY_C available as of 8.4.0 Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant