summaryrefslogtreecommitdiff
path: root/sapi/cli/php_cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r--sapi/cli/php_cli.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 6f6efb6dc5..68e2af3589 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -502,10 +502,6 @@ static void cli_register_file_handles(TSRMLS_D) /* {{{ */
return;
}
- s_in->flags |= PHP_STREAM_FLAG_FCLOSE;
- s_out->flags |= PHP_STREAM_FLAG_FCLOSE;
- s_err->flags |= PHP_STREAM_FLAG_FCLOSE;
-
#if PHP_DEBUG
/* do not close stdout and stderr */
s_out->flags |= PHP_STREAM_FLAG_NO_CLOSE;