Re: [PHP4BETA] Standard Features ?

From: Date: Thu, 15 Jul 1999 15:17:00 +0000
Subject: Re: [PHP4BETA] Standard Features ?
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-2038@lists.php.net to get a copy of this message
On Thu, 15 Jul 1999, Sascha Schumann wrote: > > > 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. Okay, so if some weirdo makes files called "php:stdin", what about php://stdin then? - Stig

« previous php.version4 (#2038) next »