return SUCCESS;
} /* }}} */
+static void phpdbg_print_opline(zend_execute_data *execute_data TSRMLS_DC) { /* {{{ */
+ zend_op *opline = execute_data->opline;
+
+ printf(
+ "[OPLINE: %p:%d]\n", opline, opline->opcode);
+} /* }}} */
+
void phpdbg_execute_ex(zend_execute_data *execute_data TSRMLS_DC)
{
zend_bool original_in_execution = EG(in_execution);
}
#endif
- printf("[OPLINE: %p]\n", execute_data->opline);
+ phpdbg_print_opline(execute_data TSRMLS_CC);
if (PHPDBG_G(has_file_bp)
&& phpdbg_breakpoint_file(execute_data->op_array TSRMLS_CC) == SUCCESS) {