summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-04-16 11:40:29 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-04-16 11:40:29 +0200
commit7ab1c07a513f520fff0e4dbb39b924d9000ba5d4 (patch)
tree4188ddc566a0e5f31977ebcc074c327d69edf80c
parenta981e3a1d2f3de60f239db4cbca4ace0e53a9193 (diff)
downloadphp-git-7ab1c07a513f520fff0e4dbb39b924d9000ba5d4.tar.gz
Fixed bug: ev output was buffered instead of directly displayed
-rw-r--r--phpdbg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/phpdbg.c b/phpdbg.c
index 7a90b8d86b..2648d60ff2 100644
--- a/phpdbg.c
+++ b/phpdbg.c
@@ -1195,6 +1195,10 @@ phpdbg_main:
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 */