Skip to content

Commit 8297986

Browse files
committed
fix phpdbg, _zend_execute_data.scope was removed with 9a36cb1
1 parent 2d39d03 commit 8297986

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sapi/phpdbg/phpdbg_frame.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void phpdbg_restore_frame(TSRMLS_D) /* {{{ */
3737
/* move things back */
3838
EG(current_execute_data) = PHPDBG_FRAME(execute_data);
3939

40-
EG(scope) = PHPDBG_EX(scope);
40+
EG(scope) = PHPDBG_EX(func)->op_array.scope;
4141
} /* }}} */
4242

4343
void phpdbg_switch_frame(int frame TSRMLS_DC) /* {{{ */
@@ -79,7 +79,7 @@ void phpdbg_switch_frame(int frame TSRMLS_DC) /* {{{ */
7979
PHPDBG_FRAME(execute_data) = EG(current_execute_data);
8080
EG(current_execute_data) = execute_data;
8181

82-
EG(scope) = PHPDBG_EX(scope);
82+
EG(scope) = PHPDBG_EX(func)->op_array.scope;
8383
}
8484

8585
phpdbg_notice("frame", "id=\"%d\"", "Switched to frame #%d", frame);

0 commit comments

Comments
 (0)