From: Dmitry Stogov Date: Mon, 24 Dec 2018 07:51:48 +0000 (+0300) Subject: Added note about changes in class declaration opcodes X-Git-Tag: php-7.4.0alpha1~1359 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b95cd92b9d9edb0f6f9a4d67e657c0d00d866aee;p=php Added note about changes in class declaration opcodes --- 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 ========================