diff options
author | krakjoe <joe.watkins@live.co.uk> | 2014-04-19 21:09:10 +0100 |
---|---|---|
committer | krakjoe <joe.watkins@live.co.uk> | 2014-04-19 21:09:10 +0100 |
commit | 89868dd4d9f9271e0d042549adf0d920d29d3067 (patch) | |
tree | b51bf6013f0847652d46e31e4791c4cad02d0ff0 /phpdbg.c | |
parent | 11c707d83657f2fd8347496d0959b27bdd454836 (diff) | |
parent | a0ee96289b7e9a06e9dbb66f40258fc09b55cde2 (diff) | |
download | php-git-89868dd4d9f9271e0d042549adf0d920d29d3067.tar.gz |
Merge branch 'master' of https://github.com/krakjoe/phpdbg
Diffstat (limited to 'phpdbg.c')
-rw-r--r-- | phpdbg.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 */ |