summaryrefslogtreecommitdiff
path: root/phpdbg.c
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2014-04-19 21:09:10 +0100
committerkrakjoe <joe.watkins@live.co.uk>2014-04-19 21:09:10 +0100
commit89868dd4d9f9271e0d042549adf0d920d29d3067 (patch)
treeb51bf6013f0847652d46e31e4791c4cad02d0ff0 /phpdbg.c
parent11c707d83657f2fd8347496d0959b27bdd454836 (diff)
parenta0ee96289b7e9a06e9dbb66f40258fc09b55cde2 (diff)
downloadphp-git-89868dd4d9f9271e0d042549adf0d920d29d3067.tar.gz
Merge branch 'master' of https://github.com/krakjoe/phpdbg
Diffstat (limited to 'phpdbg.c')
-rw-r--r--phpdbg.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpdbg.c b/phpdbg.c
index 2c5b7960d5..bf6dbd4e1f 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -1191,7 +1191,13 @@ phpdbg_main:
SG(request_info).argv[i] = estrdup(argv[php_optind - 1 + i]);
}
SG(request_info).argv[i] = exec ? estrndup(exec, exec_len) : estrdup("");
+
+ php_hash_environment(TSRMLS_C);
}
+
+ /* make sure to turn off buffer for ev command */
+ php_output_activate(TSRMLS_C);
+ php_output_deactivate(TSRMLS_C);
/* do not install sigint handlers for remote consoles */
/* sending SIGINT then provides a decent way of shutting down the server */