Re: [PHP4BETA] cvs: /php4 TODO
| From: | thies at digicol dot de | Date: | Sat, 19 Feb 2000 17:54:10 +0000 |
| Subject: | Re: [PHP4BETA] cvs: /php4 TODO | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-10497@lists.php.net to get a copy of this message | ||
On Sat, Feb 19, 2000 at 06:43:34PM +0100, thies@digicol.de wrote:
> 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!
just decided that i have to dissagree with my own idea - at
least partly.
i really think we should implement this kind of stuff in pear
as opposed to php.
whereby - to be honest - maybe having it in the language
wouldn't be bad either - but isn't pear supposed to be part
of a standard PHP 4 install?
hmmm - i used to be indecisive but now i'n not so sure;-)
WTF - lets make it part of the language.... or not?
>
> >
> > 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
>
> --
> 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