1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

UPGRADING.INTERNALS: document ZEND_DECLARE_ATTRIBUTED_CONST (#19270)

[skip ci]
This commit is contained in:
Daniel Scherzer
2025-07-29 07:55:39 -07:00
committed by GitHub
parent 54863f4930
commit d23e4ba538

View File

@@ -147,6 +147,11 @@ PHP 8.5 INTERNALS UPGRADE NOTES
4. OpCode changes
========================
* New ZEND_DECLARE_ATTRIBUTED_CONST is used when a global constant is declared
with `const` and has attributes; this opcode is used *instead* of the
ZEND_DECLARE_CONST, and in addition to the name of the constant and the
value to use, has a ZEND_OP_DATA with a pointer to the compiled attributes.
========================
5. SAPI changes
========================