Re: Re: PHP 5.2 Status Update

From: Date: Tue, 18 Jul 2006 17:11:19 +0000
Subject: Re: Re: PHP 5.2 Status Update
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-24480@lists.php.net to get a copy of this message
On 18.07.2006 20:03, Matt Sicker wrote:
It'd be nice to have a php namespace, wouldn't it? ;)
And that would help... how? Two classes named "Date" will still clash, namespaces won't magically solve 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).
-- Wbr, Antony Dovgal

« previous php.internals (#24480) next »