Re: solving the namespace conflict issues between function/staticmethodclass constant/ns constant

From: Date: Tue, 23 Sep 2008 08:31:28 +0000
Subject: Re: solving the namespace conflict issues between function/staticmethodclass constant/ns constant
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-40624@lists.php.net to get a copy of this message
Hi. Dmitry Stogov wrote:
Yes. Changing :: into any other separator solves the functions/static methods and constants ambiguity, but it also breaks intuitive syntax.
Well, I'd say those having problems to grok the syntax will have problems getting the whole concept of namespaces. :) That being said: rather learn some syntax than constantly wonder about name resolution and ambiguity. Regards, Karsten

« previous php.internals (#40624) next »