PHP 4.0 Bug #4358 Updated: new XOR breaks compatibility with php3
| From: | Bug Database | Date: | Fri, 09 Jun 2000 13:37:56 +0000 |
| Subject: | PHP 4.0 Bug #4358 Updated: new XOR breaks compatibility with php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20738@lists.php.net to get a copy of this message | ||
ID: 4358
Updated by: andi
Reported By: chrism@four.net
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
Both in PHP 3 and PHP 4 bitwise xor is ^ and logical xor is xor.
I think you meant to use ^.
Try: $result = (98 ^ 200);
Full Bug description available at: http://bugs.php.net/version4/?id=4358