Re: namespace separator ideas

From: Date: Fri, 02 Dec 2005 08:28:08 +0000
Subject: Re: namespace separator ideas
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-20991@lists.php.net to get a copy of this message
Bart de Boer wrote:
What was the argument against '::' again? Jessie Hernandez wrote:
Found it... <snip from Jessie> BTW, "::" is out the question (yes, I did try it). It created ambiguity in the case of calling a function in a namespace and calling a method of a class in a namespace: echo a::b::c(); The above can either mean "call function c in namespace b under namespace a" or "call static method c of class b under namespace a". Since this cannot be determined, "::" cannot be used. </snip from Jessie>

« previous php.internals (#20991) next »