On Tuesday 18 July 2006 09:27, Ilia Alshanetsky wrote: > The date extension functionality can be enabled, but we need to > rename the date class to avoid naming conflicts encountered with PHP > 5.1. There have been two names under consideration datetime and > phpdate. Personally I'd prefer datetime, but after doing a quick > search on google that seems like a popular name, already being used > in various classes and libraries. phpdate (or PHPDate to comply with > studly caps conventions ;-) ) on the otherhand is only used a very > small number of times is minor classes therefor seems like a safe > name. > > If you chose PHPDate is the class name, I would no objections to > including the functionality, assuming there are no technical merits > for not including the extension. > > On 18-Jul-06, at 8:39 AM, Derick Rethans wrote: > > On Sat, 15 Jul 2006, Lukas Smith wrote: > >> Ilia Alshanetsky wrote: > >>> It's been quite sometime since 5.2 was branched and looking over > >>> our "todo" > >>> majority of planned changes were made. Therefor I'd like to make > >>> an RC1 on > >>> Thursday next week and start the stabilization cycle of 5.2, so > >>> we can get a > >>> final in about 2 months. Once we start stabilization cycle, no > >>> new features > >>> will be accepted, so please use this week to commit any missing > >>> new features > >>> or major patches that have been agreed upon and not yet applied. > > > > This caught be a bit by surprise as I was unavailabe the last two > > weeks, > > so I hope I am still in time with my todo items (enabling ext/date > > finally, and adding ext/filter with a symlink). > > > > Derick > > > > -- > > Derick Rethans > > http://derickrethans.nl | http://ez.no | http://xdebug.org > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > Ilia Alshanetsky It'd be nice to have a php namespace, wouldn't it? ;)
Maybe you might not want to include that class until PHP6. Or, how about for backwards compatibility, you do prefix the class name with PHP, but when namespaces come into play, using the php namespace effectively removes the PHP prefix (e.g. PHPDate == php::Date). -- Matt Sicker
pgpO8zkIicYU8.pgp
Description: PGP signature