Skip to content

Commit b95cd92

Browse files
committed
Added note about changes in class declaration opcodes
1 parent 1fbc309 commit b95cd92

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

UPGRADING.INTERNALS

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES
1111
h. Immutable classes and op_arrays
1212
i. php_fgetcsv() and php_fputcsv()
1313
j. Removed add_get_assoc_*() and add_get_index_*()
14+
k. Class declaration opcodes
1415

1516
2. Build system changes
1617
a. Abstract
@@ -146,6 +147,12 @@ PHP 7.4 INTERNALS UPGRADE NOTES
146147
j. add_get_assoc_*() and add_get_index_*() are removed. Use add_assoc*(),
147148
add_index*() or zend_hash_*() API functions instead.
148149

150+
k. Complex class declaration opcodes ZEND_ADD_INTERFACE, ZEND_ADD_TRAIT,
151+
ZEND_BIND_TRAITS and ZEND_VERIFY_ABSTRACT_CLASS were removed. Information
152+
about interfaces and traits is kept in zend_class_entry structure and
153+
actual linked performed by ZEND_DECLARE_...CLASS... opcode(s).
154+
Linked classes have ZEND_ACC_LINKED flag set.
155+
149156
========================
150157
2. Build system changes
151158
========================

0 commit comments

Comments
 (0)