Changes with regards to new/removed OP codes: ✔
+#if PHP_VERSION_ID < 70400
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_ADD_TRAIT);
XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_BIND_TRAITS);
+#endif
+#if PHP_VERSION_ID < 70400
&& opcode.opcode != ZEND_VERIFY_ABSTRACT_CLASS
- && opcode.opcode != ZEND_OP_DATA
&& opcode.opcode != ZEND_ADD_INTERFACE
+#endif
+ && opcode.opcode != ZEND_OP_DATA
Changes to fetching debugging information: ✔
#if PHP_VERSION_ID >= 70400
*properties = zend_get_properties_for(parent, ZEND_PROP_PURPOSE_DEBUG);
#else
*properties = Z_OBJDEBUG_P(parent, *is_temp);
#endif
Changes to how static members are stored internally: ✔
- if (cce && … && cce->static_members_table) {
- ZVAL_COPY(&tmp_retval, &cce->static_members_table[zpp->offset]);
+ if (cce && … && CE_STATIC_MEMBERS(cce)) {
+ ZVAL_COPY(&tmp_retval, &CE_STATIC_MEMBERS(cce)[zpp->offset]);