Date: 09/30/01
- Next message: Zeev Suraski: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] namespaces ambiguity"
- In reply to: Stig Sæther Bakken: "Re: [PHP-DEV] namespaces ambiguity"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Sep 30, 2001 at 09:35:15PM +0200, Stig Sther Bakken wrote:
> > 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?
>
> Okay, is there another character we can use? Doesn't look that way.
> Maybe we need to use two characters then? Since both "::" and "->"
> are taken, "//" is the best suggestion I can come up with.
In what context would '//' not indicate the start of a comment?
-- Jon Parise (jon <email protected>) . Information Technology (2001) http://www.csh.rit.edu/~jon/ : Computer Science House Member-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity"
- Previous message: Stig Sæther Bakken: "Re: [PHP-DEV] namespaces ambiguity"
- In reply to: Stig Sæther Bakken: "Re: [PHP-DEV] namespaces ambiguity"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

