ID: 34981 Updated by: [EMAIL PROTECTED] Reported By: corinl at gmx dot de -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: debian linux PHP Version: 5.0.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-25 20:59:08] corinl at gmx dot de Description: ------------ the arithmetic gives diferrent reulst in php 5.0.5 and 5.0.4 (also 5.1rc) $a = -4738698913 ^ 43814; echo($a) Reproduce code: --------------- $a = -4738698913 ^ 43814; echo($a) php 5.0.5 -> -2147439834 php 5.0.4 -> -443704711 php 5.1rc -> -443704711 Expected result: ---------------- -443704711 is correct! Actual result: -------------- -2147439834 is wrong! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34981&edit=1
