Re: Reserved namespaces
| From: | Hannes Magnusson | Date: | Fri, 23 Jan 2009 23:37:58 +0000 |
| Subject: | Re: Reserved namespaces | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42804@lists.php.net to get a copy of this message | ||
On Fri, Jan 23, 2009 at 23:14, Andrei Zmievski <andrei@gravitonic.com> wrote:
> Forgive me if I've missed this in the heat of all the namespaces
> discussions. Did we consider having reserved namespaces, like 'PHP' or
> 'SPL', so that if a user tries to declare a namespace with that name an
> error is raised?
I don't think we have to treat our users like a total fcking idiots.
If anyone thinks using "SPL" or "PHP" as their root namespace is a
good idea they deserve to be kicked in the nuts.
-Hannes