#20684 [NEW]: Loop with double bug

From: Date: Wed, 27 Nov 2002 21:11:04 +0000
Subject: #20684 [NEW]: Loop with double bug
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26000@lists.php.net to get a copy of this message
From: gosciu@gg3d.com Operating system: Windows / Linux PHP version: 4.2.2 PHP Bug Type: Unknown/Other Function Bug description: Loop with double bug From <? for ($i = -5000; $i <= 5000; $i = $i + 0.01) { echo "$i<br>"; } ?> We've got something like this: [...] -4771 -4770.99 -4770.98 -4770.97 -4770.96 -4770.95 -4770.94 -4770.92999999 -4770.91999999 -4770.90999999 [...] It brokes in random place. -- Edit bug report at http://bugs.php.net/?id=20684&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20684&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20684&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20684&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20684&r=support Expected behavior: http://bugs.php.net/fix.php?id=20684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20684&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20684&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20684&r=isapi

« previous php.bugs (#26000) next »