diff options
| author | Michael Wallner <mike@php.net> | 2006-06-02 19:51:43 +0000 |
|---|---|---|
| committer | Michael Wallner <mike@php.net> | 2006-06-02 19:51:43 +0000 |
| commit | 4ce0141713bfc14bfab06aaa9525b7d6a3339438 (patch) | |
| tree | 8468e9d21dc5c63fdd39bf356ee56cb4d16f0d50 /sapi/cli/php_cli.c | |
| parent | 653007cea0bb87ccd39a746c7867eb10d907fd81 (diff) | |
| download | php-git-4ce0141713bfc14bfab06aaa9525b7d6a3339438.tar.gz | |
- new output control code
# scan README.NEW-OUTPUT-API to get a grasp
# tree has been tagged with BEFORE_NEW_OUTPUT_API
#
# TODO:
# - improve existing output handlers
# - move zlib.output_compression cruft from SAPI.c to zlib.c
# - output_encoding handling was ambigious, resp. is undefined yet
# - more tests
Diffstat (limited to 'sapi/cli/php_cli.c')
| -rw-r--r-- | sapi/cli/php_cli.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index c4b05786d7..3deaab2804 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -719,7 +719,7 @@ int main(int argc, char *argv[]) goto err; } php_cli_usage(argv[0]); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(); exit_status=0; goto out; @@ -728,7 +728,7 @@ int main(int argc, char *argv[]) goto err; } php_print_info(0xFFFFFFFF TSRMLS_CC); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(); exit_status=0; goto out; @@ -741,7 +741,7 @@ int main(int argc, char *argv[]) php_printf("\n[Zend Modules]\n"); print_extensions(TSRMLS_C); php_printf("\n"); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(); exit_status=0; goto out; @@ -763,7 +763,7 @@ int main(int argc, char *argv[]) #endif get_zend_version() ); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(); exit_status=0; goto out; |
