note 79393 deleted from migration52 by nlopess
| From: | nlopess@php.net | Date: | Sun, 25 Nov 2007 00:40:14 +0000 |
| Subject: | note 79393 deleted from migration52 by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132548@lists.php.net to get a copy of this message | ||
Note Submitter: Anonymous
----
[quote]PHP 5.2 introduced a new class, Datetime. If you already had a class in your app called
Datetime then you're in trouble.[/quote]
That's why PHP must have namespaces in the future. So you could define multiple classes with
the same name in your application. Those classes are unique in there own scope (namespace).
Then you could redefine something that someone wrote or combine two projects which contain both
class that has the same name but different implementations.