ID:               30706
 Updated by:       [EMAIL PROTECTED]
 Reported By:      kev at aero dot fr
-Status:           Open
+Status:           Bogus
 Bug Type:         Math related
 Operating System: Win2003
 PHP Version:      5.0.2
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

Duplicate of #30315.


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

[2004-11-06 19:16:51] kev at aero dot fr

Description:
------------
php5 problem with and operator and big numbers

Reproduce code:
---------------
<?
$c = 4023233417 & 2562383102;
echo $c;
// prints 2147483647
// the right answer is 2290649224 (good with php4)

?>

Expected result:
----------------
the answer isn't good
the script prints 2147483647 and the right answer is 2290649224 



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


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

Reply via email to