Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29639 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90440 invoked by uid 1010); 21 May 2007 20:11:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90424 invoked from network); 21 May 2007 20:11:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2007 20:11:05 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3002] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/50-19484-8DCF1564 for ; Mon, 21 May 2007 16:11:05 -0400 Received: (qmail 329 invoked by uid 98); 21 May 2007 20:11:05 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3273. Clear:RC:1(127.0.0.1):. Processed in 0.069253 secs); 21 May 2007 20:11:05 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 21 May 2007 20:11:05 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 21 May 2007 15:11:05 -0500 (CDT) Message-ID: <43183.216.230.84.67.1179778265.squirrel@www.l-i-e.com> In-Reply-To: References: <464D07F4.4040509@zend.com> <464D9B86.90404@lerdorf.com> Date: Mon, 21 May 2007 15:11:05 -0500 (CDT) To: "Derick Rethans" Cc: "Rasmus Lerdorf" , "Stanislav Malyshev" , "'PHP Internals'" Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] 1/-2*5 (bug 41401) From: ceo@l-i-e.com ("Richard Lynch") On Fri, May 18, 2007 12:03 pm, Derick Rethans wrote: > On Fri, 18 May 2007, Rasmus Lerdorf wrote: > >> Stanislav Malyshev wrote: >> > Looks like we have a precedence bug in the parser rules there. >> > Fortunately it's quite easy to fix, for example writing the rules >> as: >> > >> > | '+' expr %prec T_INC >> > | '-' expr %prec T_INC >> > >> > seems to work. Any reason not to? >> >> I think this should go in. It is an obvious mistake in the parser >> as >> far as I am concerned. > > However, it's probably possible that this will break some stuff for > people, so I don't think we should do it in PHP 4.4. Honestly, anybody who has any code that this breaks and hasn't caught it yet is probably just a time bomb waiting to mess them up, even in 4.4, as far as I can tell... I suspect most developers just wrapped some parens around the bug and moved on with life... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?