+1 !

On Fri, May 24, 2002 at 09:10:26AM +0200, Edin Kadribasic wrote : 
> What this patch does is basically this:
> 
> define ('STDIN', fopen('php://stdin', 'r');
> ...
> 
> I thinks it's useful to have these file descriptors always present in order
> to make using cli as a command line pipe filter easier and more readable. An
> example:
> 
> php -i | php -r 'while ($l=fgets(STDIN)) echo strip_tags($l);'
> 
> Edin
> 
> 
> -- 
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Please always Cc to me when replying to me on the lists.
GnuPG Key: http://guru.josefine.at/~mfischer/C2272BD0.asc
---------------------------------------------------------
"I mean "When in doubt, blame mcrypt" is more often right than wrong :)"
"Always right, never wrong :)"
- Two PHP developers who want to remain unnamed

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to