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

From: Date: Wed, 23 Oct 2002 06:39:25 +0000
Subject: Re: Re: RFC: CLI behave like SH or PERL/RUBY/PYTHON?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-89958@lists.php.net to get a copy of this message
To try and clarify... #!/usr/bin/php -q <? echo "please enter a word"; $fh = fopen('php://stdin') $s = fgets($fh,100); echo "you entered $s" ; ?> Would this be affected by the change? - eg. would you need to flush(); before the prompt appeared? Regards Alan Yasuo Ohgaki wrote: >BTW, this is 2nd time > >http://marc.theaimsgroup.com/?l=php-dev&m=103525481227249&w=2 > >Yasuo Ohgaki wrote: > > >>I thought it's obvious choice, but it seems it's not. >> >>Which one you prefer CLI behave like >> >>SH >> >>or >> >>PERL/RUBY/PYTHON >> >>-- >>Yasuo Ohgaki >> >> >> > > > > >

« previous php.dev (#89958) next »