<slide>
<title>Overloading opcodes</title>
<blurb>In MINIT:</blurb>
<example><![CDATA[    zend_set_user_opcode_handler(ZEND_BEGIN_SILENCE, xdebug_silence_handler);
    zend_set_user_opcode_handler(ZEND_END_SILENCE, xdebug_silence_handler);]]></example>
<blurb>%xdebug_silence_handler%:</blurb>
<example><![CDATA[static int xdebug_silence_handler(ZEND_OPCODE_HANDLER_ARGS)
{
    if (XG(do_scream)) {
        execute_data->opline++;
        return ZEND_USER_OPCODE_CONTINUE;
    }
    return ZEND_USER_OPCODE_DISPATCH;
}]]></example>
</slide>
