Re: [PATCH] bracketed namespace, unset import, removal of namespace blah;
| From: | Gregory Beaver | Date: | Thu, 23 Aug 2007 00:41:07 +0000 |
| Subject: | Re: [PATCH] bracketed namespace, unset import, removal of namespace blah; | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-31862@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>>
>> namespace __::__main;
>> function thing() {}
>> one::thing();
>> ?>
>
> __::__ look like some weird ASCII art, maybe we need something better
> for it.
:)
it could be anything, really, I just figured there's no chance that
would conflict with any other namespace. I suppose in this situation we
could allow resetting to global with "namespace;" or "namespace ::;" but
honestly, I don't see a compelling reason to do that when it's such an
edge case.
Greg