Re: Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)

From: Date: Tue, 18 Jul 2006 21:49:19 +0000
Subject: Re: Re: PEAR::Date broken (Was: [PHP-CVS] cvs: php-src(PHP_5_2) /ext/date php_date.c php_date.h)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-24551@lists.php.net to get a copy of this message
Hi Olivier,
On 7/18/06, Steph Fox <steph@zend.com> wrote:
I'm probably being dim here, but how is this going to pan out for BC? Either now, or when PHP 6 comes along and we (presumably) go from PhpDate to Php::Date? (What am I missing?)
PHPDate would still exists as an alias for BC. The advantage of namespace in that matter would be to use a default namespace, ie: 'using namespace php'. Then you are allowed to use the Date object as you will without prefixing. So in 6.0, PHPDate, PHP::PHPDate and PHP:Date would all be the same thing. It sounds stupid, but it does not cause any BC breaks, and any clashes in PHP 5.2 without namespaces.
Thanks for the clarification. Sounds like a mess :) (-1, if it counts)
Sincerely, Olivier


« previous php.internals (#24551) next »