Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20841 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 70023 invoked by uid 1010); 29 Nov 2005 16:32:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70004 invoked from network); 29 Nov 2005 16:32:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2005 16:32:43 -0000 X-Host-Fingerprint: 160.9.128.18 mrelay-c.leedsmet.ac.uk Received: from ([160.9.128.18:35684] helo=mrelay-c.lmu.ac.uk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 3A/E4-14828-8A28C834 for ; Tue, 29 Nov 2005 11:32:40 -0500 Received: from localhost.lmu.ac.uk ([127.0.0.1] helo=localhost) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1Eh8LL-0006PD-D1 for internals@lists.php.net; Tue, 29 Nov 2005 16:28:35 +0000 Received: from mrelay-c.lmu.ac.uk ([127.0.0.1]) by localhost (mrelay-c [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23125-05 for ; Tue, 29 Nov 2005 16:28:32 +0000 (GMT) Received: from lis-exchange3.leedsmet.ac.uk ([160.9.35.5] helo=lis-exchange3.lmu.ac.uk) by mrelay-c.lmu.ac.uk with esmtp (Exim 4.43) id 1Eh8Gu-0006Ji-HS for internals@lists.php.net; Tue, 29 Nov 2005 16:24:00 +0000 Received: by LIS-EXCHANGE3 with Internet Mail Service (5.5.2653.19) id <4YJR86DF>; Tue, 29 Nov 2005 16:21:48 -0000 Message-ID: To: internals@lists.php.net Date: Tue, 29 Nov 2005 16:24:31 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Virus-Scanned: by McAfee at Leeds Metropolitan University Subject: RE: [PHP-DEV] Re: Namespaces: Technical proposal From: M.Ford@leedsmet.ac.uk ("Ford, Mike") On 29 November 2005 15:27, Sara Golemon wrote: > > Just wondering. There's another thread about goto and labels > > running as well. If they vote for something like: > > > > LABEL:while (cond) { > > > > } > > > > Wouldn't this add another technical diffuculty with using ':' as a > > namespace seporator? > > > Fortunately this is another new feature so there's no old > code to break. > It's simply a matter of giving namespace:class precedence > over label:expr. > > Though yes, preventing that duality of meaning is a good thing. That's one reason I suggested possible alternatives such as: while LABEL (cond) { or while (cond) LABEL { I've no particular preference for any one variation -- whatever parses easiest! Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm