]> granicus.if.org Git - php/commitdiff
Added note about changes in class declaration opcodes
authorDmitry Stogov <dmitry@zend.com>
Mon, 24 Dec 2018 07:51:48 +0000 (10:51 +0300)
committerDmitry Stogov <dmitry@zend.com>
Mon, 24 Dec 2018 07:51:48 +0000 (10:51 +0300)
UPGRADING.INTERNALS

index dc3f6c2f9b8d85767b023c3b562858ef03eb402b..efa1d110fc0ebefb802e860123f63ca03d87e3fe 100644 (file)
@@ -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
 ========================