summaryrefslogtreecommitdiff
path: root/sapi/phpdbg
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2014-11-28 22:12:02 +0100
committerFerenc Kovacs <tyrael@php.net>2014-11-28 22:12:02 +0100
commit82979862ba67fcc3f26c98f9712f6b9c9188ad02 (patch)
tree683f0fd394c5f5c2518ee2638ce1141eb9c00bde /sapi/phpdbg
parent2d39d033e3a757e452f28f213d55c40c7aa64bfb (diff)
downloadphp-git-82979862ba67fcc3f26c98f9712f6b9c9188ad02.tar.gz
fix phpdbg, _zend_execute_data.scope was removed with 9a36cb1a07c247766278a888612ecbac812bece9
Diffstat (limited to 'sapi/phpdbg')
-rw-r--r--sapi/phpdbg/phpdbg_frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_frame.c b/sapi/phpdbg/phpdbg_frame.c
index f42fc659f1..c9ba377d95 100644
--- a/sapi/phpdbg/phpdbg_frame.c
+++ b/sapi/phpdbg/phpdbg_frame.c
@@ -37,7 +37,7 @@ void phpdbg_restore_frame(TSRMLS_D) /* {{{ */
/* move things back */
EG(current_execute_data) = PHPDBG_FRAME(execute_data);
- EG(scope) = PHPDBG_EX(scope);
+ EG(scope) = PHPDBG_EX(func)->op_array.scope;
} /* }}} */
void phpdbg_switch_frame(int frame TSRMLS_DC) /* {{{ */
@@ -79,7 +79,7 @@ void phpdbg_switch_frame(int frame TSRMLS_DC) /* {{{ */
PHPDBG_FRAME(execute_data) = EG(current_execute_data);
EG(current_execute_data) = execute_data;
- EG(scope) = PHPDBG_EX(scope);
+ EG(scope) = PHPDBG_EX(func)->op_array.scope;
}
phpdbg_notice("frame", "id=\"%d\"", "Switched to frame #%d", frame);