summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-07-06 17:56:48 +0300
committerDmitry Stogov <dmitry@zend.com>2015-07-06 17:56:48 +0300
commit001ecd3198a19aa52513c78468ffbd6e767e1ac1 (patch)
treee51ce78b2b6e0373a59d12cdd436236930d9d9bd /sapi/phpdbg/phpdbg_prompt.c
parent436b01e3797860add57a524b4492f8451b60ac68 (diff)
downloadphp-git-001ecd3198a19aa52513c78468ffbd6e767e1ac1.tar.gz
Simplify TMP var number decoding (without HashTable)
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
-rw-r--r--sapi/phpdbg/phpdbg_prompt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c
index db44a2ef32..540706eae1 100644
--- a/sapi/phpdbg/phpdbg_prompt.c
+++ b/sapi/phpdbg/phpdbg_prompt.c
@@ -1418,9 +1418,6 @@ void phpdbg_clean(zend_bool full) /* {{{ */
void phpdbg_execute_ex(zend_execute_data *execute_data) /* {{{ */
{
zend_bool original_in_execution = PHPDBG_G(in_execution);
- HashTable vars;
-
- zend_hash_init(&vars, execute_data->func->op_array.last, NULL, NULL, 0);
if ((PHPDBG_G(flags) & PHPDBG_IS_STOPPING) && !(PHPDBG_G(flags) & PHPDBG_IS_RUNNING)) {
zend_bailout();
@@ -1531,7 +1528,7 @@ ex_is_caught:
}
/* not while in conditionals */
- phpdbg_print_opline_ex(execute_data, &vars, 0);
+ phpdbg_print_opline_ex(execute_data, 0);
if (PHPDBG_G(flags) & PHPDBG_IS_STEPPING && (PHPDBG_G(flags) & PHPDBG_STEP_OPCODE || execute_data->opline->lineno != PHPDBG_G(last_line))) {
PHPDBG_G(flags) &= ~PHPDBG_IS_STEPPING;
@@ -1581,7 +1578,6 @@ next:
if (PHPDBG_G(vmret) != 0) {
if (PHPDBG_G(vmret) < 0) {
- zend_hash_destroy(&vars);
PHPDBG_G(in_execution) = original_in_execution;
return;
} else {