namespaces ambiguity
| From: | Andi Gutmans | Date: | Sun, 30 Sep 2001 17:31:58 +0000 |
| Subject: | namespaces ambiguity | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-66863@lists.php.net to get a copy of this message | ||
Hey,
I just started playing around with the parser to support the namespaces syntax Stig laid out in his RFC. I think I've thought of an ambiguity (with constants) which makes me wonder how feasible the proposed syntax is.
Consider the following expression:
$test?FOO:BAR:BARBARA
Would this mean that the person meant $test?(FOO):(BAR:BARBARA) or $test?(FOO:BAR):BARBARA?
Andi