Re: [PHP4BETA] cvs: /php4 TODO

From: Date: Sat, 19 Feb 2000 17:43:34 +0000
Subject: Re: [PHP4BETA] cvs: /php4 TODO
References: 1 2 3 4 5 6 7 8  Groups: php.version4 
Request: Send a blank email to php-version4+get-10496@lists.php.net to get a copy of this message
On Sat, Feb 19, 2000 at 06:04:34PM +0200, Zeev Suraski wrote: > At 11:21 19/02/2000 , thies@digicol.de wrote: > >On Fri, Feb 18, 2000 at 04:15:45PM -0600, Andrei Zmievski wrote: > > > On Fri, 18 Feb 2000, Stig Bakken wrote: > > > > In my opionion, another function is the only way to go. Having > > > > configure options decide the semantics of functions will break PEAR, so > > > > we should avoid that as much as we can. > > > > > > Suggest the name then. > > > > what about someting like pathinfo(); > > > > $a = pathinfo("/some/file.bla"); > > > > => array("dirname" => "/some/", > > "basename" => "file.bla", > > "extension" => "bla"); > > > > > > i could come up with some more interesting fields. > > > > we could also make it return just one part as a sting if used > > like this: > > > > $a = pathinfo("/some/file.bla",PATHINFO_BASENAME); > > > > => "file.bla"; > > > > comments? > > I like the idea a lot. andrei and zeev agree on *my* idea - that makes germany two points! > > Zeev > -- > Zeev Suraski <zeev@zend.com> http://www.zend.com/ > -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#10496) next »