Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20615 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59018 invoked by uid 1010); 27 Nov 2005 01:08:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 59003 invoked from network); 27 Nov 2005 01:08:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Nov 2005 01:08:37 -0000 X-Host-Fingerprint: 202.81.246.113 246-113.netfront.net Linux 2.4/2.6 Received: from ([202.81.246.113:48157] helo=alanportable2.hklc.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 30/1B-56276-31709834 for ; Sat, 26 Nov 2005 20:08:36 -0500 Received: from localhost ([127.0.0.1]) by alanportable2.hklc.com with esmtp (Exim 3.36 #1 (Debian)) id 1EgB2h-0006Nf-00; Sun, 27 Nov 2005 09:09:23 +0800 To: Robert Deaton Cc: internals@lists.php.net In-Reply-To: References: <20.BA.56276.A1BC8834@pb1.pair.com> <4388CE54.6060606@gmail.com> <4388D60F.8010103@gmail.com> <1A.E8.56276.F23F8834@pb1.pair.com> <4388FAFD.1080706@album.co.nz> <161F06A2-708F-4B70-8FCE-7147F5228F86@aplosmedia.com> Content-Type: text/plain; charset=ISO-8859-1 Date: Sun, 27 Nov 2005 09:09:09 +0800 Message-ID: <1133053749.15221.13.camel@alanportable2.hklc.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: namespace separator ideas From: alan@akbkhome.com (Alan Knowles) This is getting kind of fun to read since we have unicode, perhaps we should use one of those characters ;) - I'm sure I can find a chinese character that means namespace for it ;) define('foo',1);define('bar',2);var_dump(foo<-bar); personally I would prefer ":" if it is at all feasible,=20 (changing the parser to enforce whitespace on a ? b : c with a compile error would be a perfectly acceptable penalty. - It pales into insignficance compared to the clone() issue that has to be dealt with in upgrading PHP4->PHP5 ;) Regards Alan On Sat, 2005-11-26 at 19:50 -0500, Robert Deaton wrote: > On 11/26/05, David Z=FClke wrote: > > If we rule out :::, it should be <- instead. >=20 > I'd hate to see it be <-, looks too much like ->. > Foo<-bar<-Baz::getTest()->foo(); >=20 > but I agree that ::: should be ruled out all together, its too similar to= ::. >=20 > I'd almost rather have %% over <-, and even that looks kinda messy. >=20 > I think if I had to, I'd pick :>, although there still isn't any that > stands out to me as "Hey, this is definately a good choice" >=20 > -- > --Robert Deaton