diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2016-02-17 20:28:07 +0100 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2016-02-17 20:28:07 +0100 |
commit | eea576d5899c4c6665a44aa14129ad455d56572b (patch) | |
tree | 917e91e55dee543c28a46f0ff75818cd2944c7bb /sapi/phpdbg/phpdbg_print.c | |
parent | bbea2ae0481f5cf21182ce2cee1e00e06a8aa4f1 (diff) | |
parent | 055b4112188cccdc250790ab063479d2922f5fda (diff) | |
download | php-git-eea576d5899c4c6665a44aa14129ad455d56572b.tar.gz |
Merge branch 'PHP-7.0'
Diffstat (limited to 'sapi/phpdbg/phpdbg_print.c')
-rw-r--r-- | sapi/phpdbg/phpdbg_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_print.c b/sapi/phpdbg/phpdbg_print.c index abfad0219a..00209cb239 100644 --- a/sapi/phpdbg/phpdbg_print.c +++ b/sapi/phpdbg/phpdbg_print.c @@ -42,7 +42,7 @@ const phpdbg_command_t phpdbg_print_commands[] = { PHPDBG_PRINT(opline) /* {{{ */ { if (PHPDBG_G(in_execution) && EG(current_execute_data)) { - phpdbg_print_opline(EG(current_execute_data), 1); + phpdbg_print_opline(phpdbg_user_execute_data(EG(current_execute_data)), 1); } else { phpdbg_error("inactive", "type=\"execution\"", "Not Executing!"); } @@ -124,7 +124,7 @@ return SUCCESS; PHPDBG_PRINT(stack) /* {{{ */ { if (PHPDBG_G(in_execution) && EG(current_execute_data)) { - zend_op_array *ops = &EG(current_execute_data)->func->op_array; + zend_op_array *ops = &phpdbg_user_execute_data(EG(current_execute_data))->func->op_array; if (ops->function_name) { if (ops->scope) { phpdbg_notice("printinfo", "method=\"%s::%s\" num=\"%d\"", "Stack in %s::%s() (%d ops)", ZSTR_VAL(ops->scope->name), ZSTR_VAL(ops->function_name), ops->last); |