Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41113 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87374 invoked from network); 16 Oct 2008 07:46:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Oct 2008 07:46:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=M.Boeren@guidance.nl; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=M.Boeren@guidance.nl; sender-id=unknown Received-SPF: error (pb1.pair.com: domain guidance.nl from 92.67.83.186 cause and error) X-PHP-List-Original-Sender: M.Boeren@guidance.nl X-Host-Fingerprint: 92.67.83.186 unknown Windows 2000 SP4, XP SP1 Received: from [92.67.83.186] ([92.67.83.186:20622] helo=guidance.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/10-20632-E31F6F84 for ; Thu, 16 Oct 2008 03:46:08 -0400 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Thu, 16 Oct 2008 09:44:49 +0200 Message-ID: <500805A605B76F40ABD7B96F4EA5DACC0B3E1C@sbs-dc.GuidanceBV.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] my last attempt at sanity with namespaces thread-index: AckvBeNThWRxwMLJTES2jHkQQe9tsgAWx/Kw To: "Greg Beaver" , "PHP Developers Mailing List" Subject: RE: [PHP-DEV] my last attempt at sanity with namespaces From: M.Boeren@guidance.nl ("Marc Boeren") Hi,=20 > http://wiki.php.net/rfc/namespaceissues >=20 > Read it and discuss. Solution #1 is imho the best one to disambiguate everything, but the readability problem is not to be overlooked. To keep this short, just read the following rewrite of the lines for the problem code: foo.php main.php Addressing the cons for the ::: separator: 1. all existing namespace code must still be rewritten, sorry about that. 2. this..example..with::slight..error..is..much..easier..to::see(); Two sequential dots currently produce a syntax error, so the implementation doesn't have to worry about ambiguity or bc-issues. Disclaimer: I have not written any namespaced php code yet (so I'm not worried about con #1 ;-)). Ciao, Marc.