Re: inplicit_flush off

From: Date: Tue, 22 Oct 2002 07:32:46 +0000
Subject: Re: inplicit_flush off
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-89890@lists.php.net to get a copy of this message
Derick Rethans wrote:
On Tue, 22 Oct 2002, Yasuo Ohgaki wrote:
CLI should behave like other *modern* scripting language. i.e. behave like perl, ruby, python. Currently it behaves like sh. i.e. flushing stdout for every output.
Like it *should*. Please don't start again on this issue, it is starting to annoy me.
I know you bring the setting back ;) PG(implicit_flush)=1 cannot make sense in anyway. PG(implicit_flush) is INI_SYSTEM|INI_PERDIR. You know what it means. fflush on stdout for every output is not needed by the nature of char devices. Give some reasonable reasons why PHP/CLI should behave like sh instead of modern scripting languages like perl, ruby, etc at least. -- Yasuo Ohgaki
Comments? --- php_cli.c.~1.37.~ Wed Oct 16 06:17:34 2002 +++ php_cli.c Tue Oct 22 11:45:09 2002 @@ -466,7 +466,6 @@ SG(options) |= SAPI_OPTION_NO_CHDIR; zend_alter_ini_entry("register_argc_argv", 19, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); - zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE); zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */ -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
-- ---------------------------------------------------------------------------
 Derick Rethans                                   http://derickrethans.nl/  JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-


« previous php.dev (#89890) next »