#39443 [Opn->Bgs]: Bitwise operators (xor)
| From: | tony2001@php.net | Date: | Thu, 09 Nov 2006 09:08:16 +0000 |
| Subject: | #39443 [Opn->Bgs]: Bitwise operators (xor) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-104702@lists.php.net to get a copy of this message | ||
ID: 39443
Updated by: tony2001@php.net
Reported By: eugene at cleardesign dot com dot ua
-Status: Open
+Status: Bogus
Bug Type: *Math Functions
Operating System: FreeBDS 5.5
PHP Version: 5.2.0
New Comment:
Bitwise operators work with integers, not floats.
Previous Comments:
------------------------------------------------------------------------
[2006-11-09 09:05:11] eugene at cleardesign dot com dot ua
Description:
------------
After update PHP from 5.1.4 to 5.2.0 I have difference
of xor operator
Reproduce code:
---------------
echo -4738698913 ^ 4653896912;
Expected result:
----------------
php 5.1.4 return: -253106801
Actual result:
--------------
php 5.2.0 return: -1788554032
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39443&edit=1