Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20544 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22703 invoked by uid 1010); 26 Nov 2005 13:29:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 22687 invoked from network); 26 Nov 2005 13:29:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 13:29:00 -0000 X-Host-Fingerprint: 83.149.123.177 mail.aaaa.ws Linux 2.4/2.6 Received: from ([83.149.123.177:49532] helo=mail.aaaa.ws) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 8C/BF-56276-B1368834 for ; Sat, 26 Nov 2005 08:28:59 -0500 Received: from cpc2-sout5-5-0-cust53.sot3.cable.ntl.com ([81.110.110.53] helo=[192.168.1.103]) by mail.aaaa.ws with esmtpa (Exim 4.50) id 1Eg06i-0006ps-PZ; Sat, 26 Nov 2005 14:28:48 +0100 To: Marcus Boerger Cc: Christian Schneider , PHP internals In-Reply-To: <1846537918.20051126133827@marcus-boerger.de> References: <7.0.0.16.2.20051124161240.0573e640@zend.com> <20051125034515.6fefa4e2@localhost.localdomain> <43867C6C.2010209@prohost.org> <20051125040950.26305e08@localhost.localdomain> <43869FC5.4060708@lerdorf.com> <20051125075501.79718ee6@localhost.localdomain> <1132903004.9936.25.camel@localhost.localdomain> <1086017308.20051125091648@marcus-boerger.de> <01.D8.11378.05EC6834@pb1.pair.com> <1946534082.20051125100920@marcus-boerger.de> <4386D5C6.8040802@php.net> <4386E355.7020901@cschneid.com> <43870917.5070409@prohost.org> <43870E22.8000309@cschneid.com> <955021720.20051125202818@marcus-boerger.de> <4387AF5F.4080204@cschneid.com> <1846537918.20051126133827@marcus-boerger.de> Content-Type: text/plain Date: Sat, 26 Nov 2005 13:28:49 +0000 Message-ID: <1133011730.9056.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.4.1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: matthew@teh.ath.cx ("Matthew C. Kavanagh") On Sat, 2005-11-26 at 13:38 +0100, Marcus Boerger wrote: > Hello Christian, > > Saturday, November 26, 2005, 1:42:07 AM, you wrote: > > PS: I'd rather have : for namespaces with the whitespace restriction for > > ? a:x : b:y than the confusing (escaping characters outside of a > > string?) backslash. > > And kill trillions of php scripts, how funny. Think before writing. It may well be impractical to code for all I know, but surely this is not technically impossible? As of now I really don't think ? a:x:b:y works anyway, so what is going to be broken by requiring ? a:x : b:y when the ternary operator is used with namespaced expressions? I do think just about anything is preferable to \ as namespace separator. Be imaginative; it can be two characters, like :>. Unless that has some collision with the > operator that I cannot see, or there is no two character separator that is less generally undesirable than \. I think three character separators would be taking the search too far, though :) Matt