summaryrefslogtreecommitdiff
path: root/UPGRADING.INTERNALS
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-12-24 10:51:48 +0300
committerDmitry Stogov <dmitry@zend.com>2018-12-24 10:51:48 +0300
commitb95cd92b9d9edb0f6f9a4d67e657c0d00d866aee (patch)
tree4aad49c35eda936ddf8fd61a9d98af1ba6808464 /UPGRADING.INTERNALS
parent1fbc309e2caf5b3bbc27a70c6ade17f8e54e1861 (diff)
downloadphp-git-b95cd92b9d9edb0f6f9a4d67e657c0d00d866aee.tar.gz
Added note about changes in class declaration opcodes
Diffstat (limited to 'UPGRADING.INTERNALS')
-rw-r--r--UPGRADING.INTERNALS7
1 files changed, 7 insertions, 0 deletions
diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index dc3f6c2f9b..efa1d110fc 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -11,6 +11,7 @@ PHP 7.4 INTERNALS UPGRADE NOTES
h. Immutable classes and op_arrays
i. php_fgetcsv() and php_fputcsv()
j. Removed add_get_assoc_*() and add_get_index_*()
+ k. Class declaration opcodes
2. Build system changes
a. Abstract
@@ -146,6 +147,12 @@ PHP 7.4 INTERNALS UPGRADE NOTES
j. add_get_assoc_*() and add_get_index_*() are removed. Use add_assoc*(),
add_index*() or zend_hash_*() API functions instead.
+ k. Complex class declaration opcodes ZEND_ADD_INTERFACE, ZEND_ADD_TRAIT,
+ ZEND_BIND_TRAITS and ZEND_VERIFY_ABSTRACT_CLASS were removed. Information
+ about interfaces and traits is kept in zend_class_entry structure and
+ actual linked performed by ZEND_DECLARE_...CLASS... opcode(s).
+ Linked classes have ZEND_ACC_LINKED flag set.
+
========================
2. Build system changes
========================