diff options
Diffstat (limited to 'UPGRADING.INTERNALS')
| -rw-r--r-- | UPGRADING.INTERNALS | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index 6fe98f0a45..ff56dfa655 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -13,7 +13,7 @@ PHP 7.2 INTERNALS UPGRADE NOTES j. Run-time constant operand addressing k. Array/Object recursion protection l. HASH_FLAG_PERSISTENT - m. zend_ast_ref + m. AST and IS_CONSTANT 2. Build system changes a. Unix build system changes @@ -94,6 +94,11 @@ PHP 7.2 INTERNALS UPGRADE NOTES zend_ast_destroy_and_free() is removed. ZVAL_NEW_AST() is replaced by ZVAL_AST(). + IS_CONSTANT type and Z_CONST_FLAGS() are removed. Now constants are always + represented using IS_CONSTANT_AST (ZEND_AST_CONSTANT kind). AST node + attributes are used instead of constant flags. IS_TYPE_CONSTANT flag is + removed, but Z_CONSTANT() macro is kept for compatibility. + ======================== 2. Build system changes ======================== |
