Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:20566 php.internals:20567 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94151 invoked by uid 1010); 26 Nov 2005 16:11:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94135 invoked from network); 26 Nov 2005 16:11:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Nov 2005 16:11:57 -0000 X-Host-Fingerprint: 68.215.62.134 adsl-215-62-134.mia.bellsouth.net Received: from ([68.215.62.134:16135] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id CA/39-56276-B4988834 for ; Sat, 26 Nov 2005 11:11:56 -0500 To: internals@lists.php.net,Christian Schneider Message-ID: <43888945.4040400@gmail.com> Date: Sat, 26 Nov 2005 11:11:49 -0500 User-Agent: Mozilla Thunderbird 1.0.7-1.1.fc4 (X11/20050929) X-Accept-Language: en-us, en MIME-Version: 1.0 CC: Marcus Boerger , PHP internals 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> <4388726A.8050803@cschneid.com> In-Reply-To: <4388726A.8050803@cschneid.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 68.215.62.134 Subject: Re: [PHP-DEV] Re: PHP 5.1 (Or How to break tousands of apps out there) From: jrhernandez05@gmail.com (Jessie Hernandez) Hi Chris, Christian Schneider wrote: > > From Jessie's statements I was assuming that ONLY in the ternary case > you would need whitespaces/parens to disambiguate the expression. That > would break way less PHP scripts than, say, a core Date class ;-) > Yes, this is true, but still, I wouldn't be surprised if many people use code such as "$x = $y?CONSTANT1:CONSTANT2;" right now, so by introducing this change, which should have absolutely no BC issues at all, you may potentially break scripts, which is something I'd rather not do. I might have a solution for this though, just give me some time to implement. For now, we can forget about namespace constants (they're not critical, anyways). Regards, Jessie