<slide>
<title>PHP 7.4 compile errors</title>

<blurb>Changes with regards to new/removed OP codes: ✔</blurb>
<example>
<![CDATA[+#if PHP_VERSION_ID < 70400
                XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_ADD_TRAIT);
                XDEBUG_SET_OPCODE_OVERRIDE_COMMON(ZEND_BIND_TRAITS);
+#endif]]>
</example>
<example>
<![CDATA[+#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]]>
</example>

<blurb>Changes to fetching debugging information: ✔</blurb>
<example><![CDATA[#if PHP_VERSION_ID >= 70400
    *properties = zend_get_properties_for(parent, ZEND_PROP_PURPOSE_DEBUG);
#else
    *properties = Z_OBJDEBUG_P(parent, *is_temp);
#endif
]]></example>

<blurb>Changes to how static members are stored internally: ✔</blurb>
<example><![CDATA[
- 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]);]]></example>

</slide>
