Re: Namespaces bug
| From: | Stanislav Malyshev | Date: | Wed, 26 Mar 2003 18:35:44 +0000 |
| Subject: | Re: Namespaces bug | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-330@lists.php.net to get a copy of this message | ||
SH>> I believe the way it was designed was:
SH>>
SH>> namespace A {
SH>> namespace A:B {
SH>> class C {
SH>> }
SH>> }
SH>> }
That's the same thing. As was noted repeatedly on the lists, ':' has no
semantic meaning, A and A:B are not related in any way.
One again:
Namespaces are not 'nested'. You can define namespace inside other
namespace, this does not make them related. There's no namespace nesting.
':' in namespace name does not mean anything.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109