Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20965 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28685 invoked by uid 1010); 1 Dec 2005 16:52:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 28670 invoked from network); 1 Dec 2005 16:52:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2005 16:52:22 -0000 X-Host-Fingerprint: 69.15.229.169 unknown Received: from ([69.15.229.169:18327] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id E9/1A-14828-54A2F834 for ; Thu, 01 Dec 2005 11:52:22 -0500 Message-ID: To: internals@lists.php.net Reply-To: "l0t3k" References: Date: Thu, 1 Dec 2005 11:47:39 -0500 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-RFC2646: Format=Flowed; Original X-Posted-By: 69.15.229.169 Subject: Re: phpnamespaces.org! From: cshmoove@hotmail.com ("l0t3k") ""Jessie Hernandez"" 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