#30706 [Opn->Bgs]: AND operator
| From: | tony2001@php.net | Date: | Wed, 10 Nov 2004 16:52:29 +0000 |
| Subject: | #30706 [Opn->Bgs]: AND operator | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-68902@lists.php.net to get a copy of this message | ||
ID: 30706
Updated by: tony2001@php.net
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