Re: [PHP-DEV] stdin From: Stig S. Bakken (ssb <email protected>)
Date: 09/15/00

Sterling Hughes wrote:
>
> Is there any reason that a direct interface to stdin, stdout and stderr are not
> provided? Why is the "php://stdin" provided instead?

You mean like "gets" instead of "fgets" and so on? PHP was never
designed to do I/O via stdin/stdout/stderr, hence the "add-on feel" of
php://stdin.

 - Stig

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>