Re: phpnamespaces.org!

From: Date: Thu, 01 Dec 2005 16:47:39 +0000
Subject: Re: phpnamespaces.org!
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-20965@lists.php.net to get a copy of this message
""Jessie Hernandez"" <jrhernandez05@gmail.com> wrote in message news:FE.F6.14828.BA52F834@pb1.pair.com... > > 2) How will symbols be resolved inside namespaces? If a class "A" exists > in > namespace "N", and a global class "A" also exists, then by referencing > "A", > what should happen? Should the namespaced "A" be used? If so, then the > global "A" cannot be accessed from the namespace. Is this OK? These rules > would need to be the same and affects the following contexts: i should know this, but does PHP use :: as the global scope resolver as in C++ ? if so, namespaced A ==> $A global A ==> ::$A l0t3k

« previous php.internals (#20965) next »