Re: namespace separator poll, update
| From: | Stanislav Malyshev | Date: | Mon, 28 Nov 2005 14:05:35 +0000 |
| Subject: | Re: namespace separator poll, update | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20723@lists.php.net to get a copy of this message | ||
OG>>Well, some people always keep throwing that already used symbols cannot
OG>>be used for other purposes. :: is used for resolving class scope. Well,
Well, namespace scope and class scope are close enough so that this mixing
up would be bearable (and regarding class resolution and namespace
resolution as the same operation is not an alien concept in OO world).
OG>>the tokenizer COULD be so smart as to look ahead but I still haven't
yacc can look one token ahead, AFAIR.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115