#43447 [NEW]: comparison in a for-loop is not exact
From: jumo at gmx dot de Operating system: Ubuntu Linux PHP version: 5.2.5 PHP Bug Type: *General Issues Bug description: comparison in a for-loop is not exact Description: the comparison in a special for-loop is not correct. Reproduce code: --- "; } ?> Expected result: 400.84 400.85 400.86 400.87 Actual result: -- 400.84 400.85 400.86 400.87 400.88 -- Edit bug report at http://bugs.php.net/?id=43447&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43447&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43447&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43447&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43447&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=43447&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=43447&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=43447&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=43447&r=needscript Try newer version:http://bugs.php.net/fix.php?id=43447&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=43447&r=support Expected behavior:http://bugs.php.net/fix.php?id=43447&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=43447&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=43447&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=43447&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43447&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=43447&r=dst IIS Stability:http://bugs.php.net/fix.php?id=43447&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=43447&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=43447&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=43447&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=43447&r=mysqlcfg
#36218 [Opn]: weird behaviour using imagecolorallocate very often
ID: 36218 User updated by: jumo at gmx dot de Reported By: jumo at gmx dot de Status: Open Bug Type: GD related Operating System: debian PHP Version: 5.1.2 New Comment: excuse my bad english! Previous Comments: [2006-01-30 23:46:58] jumo at gmx dot de Description: I want to draw many squares on a PNG image, wich have changing color. after some correct drawed there is only one color used. Reproduce code: --- Expected result: a bar with red and green vertical stripes wich have changing colors. Actual result: -- the right half of the bar is green. -- Edit this bug report at http://bugs.php.net/?id=36218&edit=1
#36218 [NEW]: weird behaviour using imagecolorallocate very often
From: jumo at gmx dot de Operating system: debian PHP version: 5.1.2 PHP Bug Type: GD related Bug description: weird behaviour using imagecolorallocate very often Description: I want to draw many squares on a PNG image, wich have changing color. after some correct drawed there is only one color used. Reproduce code: --- Expected result: a bar with red and green vertical stripes wich have changing colors. Actual result: -- the right half of the bar is green. -- Edit bug report at http://bugs.php.net/?id=36218&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36218&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36218&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36218&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36218&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36218&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36218&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=36218&r=needscript Try newer version:http://bugs.php.net/fix.php?id=36218&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36218&r=support Expected behavior:http://bugs.php.net/fix.php?id=36218&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36218&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36218&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36218&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36218&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36218&r=dst IIS Stability:http://bugs.php.net/fix.php?id=36218&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36218&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36218&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36218&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=36218&r=mysqlcfg