Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23633 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31380 invoked by uid 1010); 24 May 2006 16:26:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31365 invoked from network); 24 May 2006 16:26:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 May 2006 16:26:17 -0000 X-PHP-List-Original-Sender: dante@lorenso.com X-Host-Fingerprint: 69.56.234.131 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([69.56.234.131:42787] helo=dante.domain.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 2B/36-19568-82984744 for ; Wed, 24 May 2006 12:26:16 -0400 Received: from [127.0.0.1] (c-67-163-105-145.hsd1.tx.comcast.net [67.163.105.145]) by dante.domain.com (Postfix) with ESMTP id 33F763C001 for ; Wed, 24 May 2006 11:26:13 -0500 (CDT) Message-ID: <44748921.4010202@lorenso.com> Date: Wed, 24 May 2006 11:26:09 -0500 Reply-To: dante@lorenso.com Organization: LarkSpark Corporation User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: PHPdev Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: left/right order of assignment and ++ increment changed? 5.0.x --> 5.1.x From: dante@lorenso.com ("D. Dante Lorenso") Internals, Seems the order or left vs right assignment evaluation has changed somehow recently in my upgrade to PHP 5.1.4. See the following code: ---------- 8< -------------------- 8< ---------- ---------- 8< -------------------- 8< ---------- in PHP 5.0.5: Array ( [0] => 0 [1] => 1 [2] => 2 [3] => 3 [4] => 4 ) in PHP 5.1.4: Array ( [1] => 0 [2] => 1 [3] => 2 [4] => 3 [5] => 4 ) Is this a bug, a feature, or bad programmer [me]? Dante