Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20781 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23643 invoked by uid 1010); 28 Nov 2005 21:54:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 23628 invoked from network); 28 Nov 2005 21:54:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Nov 2005 21:54:33 -0000 X-Host-Fingerprint: 80.237.132.12 wp005.webpack.hosteurope.de Linux 2.5 (sometimes 2.4) (4) Received: from ([80.237.132.12:41393] helo=wp005.webpack.hosteurope.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B0/22-21657-89C7B834 for ; Mon, 28 Nov 2005 16:54:32 -0500 Received: by wp005.webpack.hosteurope.de running Exim 4.43 using esmtpa from dslb-084-057-000-048.pools.arcor-ip.net ([84.57.0.48] helo=[192.168.0.100]) id 1EgqxB-0000dy-3Y; Mon, 28 Nov 2005 22:54:29 +0100 In-Reply-To: <4F.D1.21657.21C7B834@pb1.pair.com> References: <4F.D1.21657.21C7B834@pb1.pair.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-ID: <91597F76-5ED4-4651-AB3A-EA139030E14B@bitxtender.com> Cc: internals@lists.php.net Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Nov 2005 22:54:27 +0100 To: =?ISO-8859-1?Q?Oliver_Gr=E4tz?= X-Mailer: Apple Mail (2.746.2) Subject: Re: [PHP-DEV] Namespaces: Technical proposal From: dz@bitxtender.com (=?ISO-8859-1?Q?David_Z=FClke?=) Cool. If that won't work, I'd rather have ::: over \, please ;) - David Am 28.11.2005 um 22:52 schrieb Oliver Gr=E4tz: > Hi folks! > > I had some PM discussions about the (presumably premature) death of =20= > ":" > as the namespace symbol. > > Most people liked this, some liked "::" (which will definetely NOT =20 > work) > and then the opinion was very split with a lot of people saying =20 > "OK, if > it has to be" to ":::". Some folks even resigned and went for the =20 > widely > hated "\". I'll recompile a table later this night with corrected > opinions (don't worry, I have redflagged all vote posts in my =20 > Thunderbird). > > But now there might be a possibility to go with ":". Jessie will test > this out and I suppose he'll come out with results (hopefully =20 > positive). > > Here's the idea: When the tokenizer encounters the opening "?" of the > ternary, it DEACTIVATES the namespace operator until the end of the > ternary. This way, all old code will behave as before, nothing will be > broken. Of course, this absolutely requires the use of parentheses if > one absolutely needs to use namespaces inside the ternary. As such =20 > cases > will be pretty rare, this is no big drawback. The good thing: no > whitespace magic is needed! > > Comments? > > OLLi > > --=20 > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >