summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */