diff options
author | Michael Wallner <mike@php.net> | 2010-05-31 10:29:43 +0000 |
---|---|---|
committer | Michael Wallner <mike@php.net> | 2010-05-31 10:29:43 +0000 |
commit | 11d24c1593d6617f73d3f290617bd8994182f4dc (patch) | |
tree | eddeffa97ad3893b731144afb003e26ef0952de9 /sapi/cli/php_cli.c | |
parent | 27299b7e4084adb236acfbfb25168d72306ee802 (diff) | |
download | php-git-11d24c1593d6617f73d3f290617bd8994182f4dc.tar.gz |
* implement new output API, fixing some bugs and implementing some feature
requests--let's see what I can dig out of the bugtracker for NEWS--
and while crossing the road:
* implemented new zlib API
* fixed up ext/tidy (what was "s&" in zend_parse_parameters() supposed to do?)
Thanks to Jani and Felipe for pioneering.
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 bf272b4400..8856bf8e6c 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -822,7 +822,7 @@ int main(int argc, char *argv[]) } request_started = 1; php_cli_usage(argv[0]); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(TSRMLS_C); exit_status=0; goto out; @@ -832,7 +832,7 @@ int main(int argc, char *argv[]) } request_started = 1; php_print_info(0xFFFFFFFF TSRMLS_CC); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(TSRMLS_C); exit_status=0; goto out; @@ -846,7 +846,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(TSRMLS_C); exit_status=0; goto out; @@ -869,7 +869,7 @@ int main(int argc, char *argv[]) #endif get_zend_version() ); - php_end_ob_buffers(1 TSRMLS_CC); + php_output_end_all(TSRMLS_C); exit_status=0; goto out; |