Re: [PHP4BETA] cvs: /php4 TODO

From: Date: Sat, 19 Feb 2000 09:21:33 +0000
Subject: Re: [PHP4BETA] cvs: /php4 TODO
References: 1 2 3 4 5  Groups: php.version4 
Request: Send a blank email to php-version4+get-10483@lists.php.net to get a copy of this message
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? > > -Andrei > * If it ain't broken, it doesn't have enough features yet. * > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > -- 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 (#10483) next »