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.

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


Reply via email to