Re: stdin
| From: | Stig S. Bakken | Date: | Fri, 15 Sep 2000 05:38:23 +0000 |
| Subject: | Re: stdin | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-33296@lists.php.net to get a copy of this message | ||
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