Re: [PHP4BETA] Standard Features ?
| From: | Sascha Schumann | Date: | Thu, 15 Jul 1999 14:19:20 +0000 |
| Subject: | Re: [PHP4BETA] Standard Features ? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2031@lists.php.net to get a copy of this message | ||
> > Well, there is no standard way of accessing std* which is
> > guaranteed to work on all platforms. How about adding a new
> > handler to fopen-wrappers:
> >
> > std://in
> > std://out
> > std://err
> >
> > That way no namespace pollution of i.e. normal files takes place.
>
> Good idea, however I'd rather see it named like this, to further prevent
> namespace pollution.
>
> php:stdin
> php:stdout
> php:stderr
>
> The "//" is not needed since we're not going to another host to get data.
':' is a valid character for file names whereas '/' is not.
That's why I chose the Common Internet Scheme Syntax.
--
Regards,
Sascha Schumann
Consultant