RE: [PHP-DEV] multiple namespace per file
| From: | Dmitry Stogov | Date: | Tue, 11 Sep 2007 11:13:24 +0000 |
| Subject: | RE: [PHP-DEV] multiple namespace per file | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-32243@lists.php.net to get a copy of this message | ||
> And even if we do
> multiple namespaces per file. I guess we do not allow a
> namespace to be spread onto several files, right?
Current implementation allows to spread one namespace on several files.
You should just use "namespace" with the same name on top of each file.
(Very similar to Java)
This won't be changed even if we will use several namespaces per file.
Thanks. Dmitry.