From: joelee at joeworks dot com Operating system: Linux (Suse Linux 9.0 for AMD64) PHP version: 5.0.0RC1 PHP Bug Type: Math related Bug description: Test Failures when compiled on 64-bit mode
Description: ------------ make test failure on abs(), pow() and round() when compile in 64-bit mode Tested on both 5.0.0RC1 and 4.3.5 Reproduce code: --------------- # Compile in 64-bit mode $ ./configure $ make $ make test # Actual Result # Compiled in 32-bit mode $ CFLAGS=-m32 ./configure $ make $ make test # Expected result Expected result: ---------------- ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] ===================================================================== Actual result: -------------- ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #24054 (Assignment operator *= broken) [tests/lang/bug24054.phpt] Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] serializing references test case using globals [ext/session/tests/019.phpt] Simple math tests [ext/standard/tests/math/abs.phpt] Various pow() tests [ext/standard/tests/math/pow.phpt] Simple math tests [ext/standard/tests/math/round.phpt] ===================================================================== -- Edit bug report at http://bugs.php.net/?id=27717&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27717&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27717&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27717&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27717&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27717&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27717&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27717&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27717&r=support Expected behavior: http://bugs.php.net/fix.php?id=27717&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27717&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27717&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27717&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27717&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27717&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27717&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27717&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27717&r=float
