Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?

From: Date: Wed, 23 Oct 2002 07:05:12 +0000
Subject: Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-89960@lists.php.net to get a copy of this message
On Wed, Oct 23, 2002 at 03:45:42PM +0900, Yasuo Ohgaki wrote : > Oops. Sorry, I forgot. > It's about flushing output every output statement. > > SH and current CLI does fflush() on stdout with > echo "A" > > while others don't. > And this setting cannot be changed by php.ini. > > User has to pass "-D implicit_flush=Off" as command line option. > > As we all know, character devices flushes by newline, so > flushing is not really needed. If user would like to do flush, > flush() function may be used (or change php.ini) I think there's a problem on Win32 if flushing isn't done after every character, but I could be wrong. What I really like to see is that the CLI binary also accepts settings like implicit_flush _from_ the ini file. Which you pointed out, doesn't work at the moment. I pointed out the issue about the problem with the hardcoded values cannot be overriden with the ini file but only on the command line already in the first quarter of the year. Unfortuantely it seems it's a bit tricky to implement. However, before we attack the implicit_flush thing (someone should check Win32) I would like to get the ini setting being proper read too. - Markus -- GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc $ grep docref_root php.ini docref_root = "http://landonize.it/?how=url&theme=classic&filter=RichyH&user=imajes&url=http%3A%2F%2Fphp.net%2F/"

« previous php.dev (#89960) next »