From: krakjoe Date: Mon, 11 Nov 2013 14:38:11 +0000 (+0000) Subject: precise break from userland X-Git-Tag: php-5.6.0alpha1~110^2~482 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97fda0eaf29310df1224e2eb826eb1d41a076e0e;p=php precise break from userland --- diff --git a/phpdbg.c b/phpdbg.c index 6ed4e654df..f686c1ac4d 100644 --- a/phpdbg.c +++ b/phpdbg.c @@ -96,9 +96,9 @@ static PHP_RSHUTDOWN_FUNCTION(phpdbg) /* {{{ */ static PHP_FUNCTION(phpdbg_break) /* {{{ */ { - if (EG(active_op_array)) { + if (EG(current_execute_data)) { phpdbg_set_breakpoint_opline_ex( - EG(active_op_array)->opcodes TSRMLS_CC); + EG(current_execute_data)->opline TSRMLS_CC); } } /* }}} */