Re: [PHP4BETA] cvs: /php4 TODO
| From: | Zeev Suraski | Date: | Sat, 19 Feb 2000 16:04:34 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 TODO | ||
| References: | 1 2 3 4 5 6 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10491@lists.php.net to get a copy of this message | ||
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:I like the idea a lot. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/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?