From: mail at young dot org dot ua Operating system: 6.0-RELEASE-p4 PHP version: 5.1.2 PHP Bug Type: Math related Bug description: wrong xor result
Description: ------------ Part of php-code doesnt work correctly on the sigle servers, but working good at ~100 other servers. CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.13-MHz 686-class CPU) Reproduce code: --------------- <?php $a = -5883499359; $b = 177392; var_dump($a); var_dump($b); $a ^= $b; var_dump($a); ?> Expected result: ---------------- float(-5883499359) int(177392) int(-1588438959) Actual result: -------------- float(-5883499359) int(177392) int(-2147306256) -- Edit bug report at http://bugs.php.net/?id=36254&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36254&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36254&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36254&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36254&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36254&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36254&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36254&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36254&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36254&r=support Expected behavior: http://bugs.php.net/fix.php?id=36254&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36254&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36254&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36254&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36254&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36254&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36254&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36254&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36254&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36254&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36254&r=mysqlcfg