#23395 [Opn->Ver]: for loop = infinite loop in RC2

From: Date: Tue, 29 Apr 2003 14:33:35 +0000
Subject: #23395 [Opn->Ver]: for loop = infinite loop in RC2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38719@lists.php.net to get a copy of this message
ID: 23395 Updated by: edink@php.net Reported By: sprice at wisc dot edu -Status: Open +Status: Verified Bug Type: Scripting Engine problem Operating System: Mac OS X.2.5 PHP Version: 4.3.2RC2 New Comment: I can confirm that: sapi/cli/php -r '$i=1; $i *= 10; print $i;' prints -2123890688 on Mac OS X 10.2.5. GNU Bison version 1.28 flex version 2.5.4 GCC 3.1 (Apple) Previous Comments: ------------------------------------------------------------------------ [2003-04-29 09:16:18] sprice at wisc dot edu $i = $i * 10; works just fine. Then when I go back to $i *= 10; it breaks again. ------------------------------------------------------------------------ [2003-04-29 08:48:33] sprice at wisc dot edu I tried this on another OS X.2.5 Server machine that I administer with the same result. Both installations were compiled, etc. independently. The first was 10.2.5 client tho. ------------------------------------------------------------------------ [2003-04-29 01:23:31] derick@php.net I can not reproduce this at all. ------------------------------------------------------------------------ [2003-04-29 00:30:39] sprice at wisc dot edu BTW: <?php $i = 1; $i *= 10; echo $i; ?> yields: -2123890688 ------------------------------------------------------------------------ [2003-04-28 22:35:32] sprice at wisc dot edu I forgot to mention, configure: ./configure --with-apxs ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23395 -- Edit this bug report at http://bugs.php.net/?id=23395&edit=1

« previous php.bugs (#38719) next »