Re: Namespaces bug
| From: | Stanislav Malyshev | Date: | Wed, 26 Mar 2003 19:40:07 +0000 |
| Subject: | Re: Namespaces bug | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-348@lists.php.net to get a copy of this message | ||
>> > local to A. Since it is not, the syntax should cause a parser error,
>> > and the same with namespaces. And then what happens with that stuff
>> > when, at some point in the future, proper scoping is implemented?
Well, I don't know for the future and stuff. I talked with Andi and he
agrees with you (i.e., he doesn't see a use in nested namespaces) so I
would probably un-nest them.
Also, I think that include() (and its brothers) should be not part of the
namespace even if called from the namespace code (just like include from
class function is not in the class).
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109