Re: A rebuttal to Re: RFC: Dropping Namespace
| From: | Steph Fox | Date: | Fri, 07 Dec 2007 19:27:57 +0000 |
| Subject: | Re: A rebuttal to Re: RFC: Dropping Namespace | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33846@lists.php.net to get a copy of this message | ||
Hi Greg,
1) recommend all global non-namespaced code that wishes to import namespaced code via "use Namespace::Classname" add a "namespace __php__;" at the top of the file, and that the __php__ namespace be reserved for use by end-user applications.That answers my main concern, but I'd make it stronger than a recommendation. I'd make it impossible to import namespaced code into the global space. - Steph