ID:               46236
 Updated by:       [EMAIL PROTECTED]
 Reported By:      wlalk at wtfs dot za dot net
-Status:           Open
+Status:           Assigned
 Bug Type:         Scripting Engine problem
 Operating System: Linux (2.6.18)
 PHP Version:      5.2.6
-Assigned To:      
+Assigned To:      tony2001
 New Comment:

Antony, your fix was not enough?


Previous Comments:
------------------------------------------------------------------------

[2008-10-05 11:22:50] wlalk at wtfs dot za dot net

Description:
------------
Large negative integer not overflowing correctly.

Same problem as Bug #38908 but with version 5.2.6.

Bug #38908 claims to have been fixed as of 26 September 2006.

Reproduce code:
---------------
echo (int)(-2432869008);
echo (int)(2432869008);

Expected result:
----------------
1862098288
-1862098288 

Output as generated by a windows based server.

Actual result:
--------------
-2147483648
-1862098288 

Output as generated by a linux based server.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=46236&edit=1

Reply via email to