Bug #3176 Updated: Using Bit manupulation ( Bitwise AND, OR, XOR, NOT) do not work as expected
| From: | Bug Database | Date: | Tue, 11 Jan 2000 13:37:45 +0000 |
| Subject: | Bug #3176 Updated: Using Bit manupulation ( Bitwise AND, OR, XOR, NOT) do not work as expected | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14498@lists.php.net to get a copy of this message | ||
ID: 3176
User Update by: markj@usn.nl
Status: Open
Bug Type: Misbehaving function
Description: Using Bit manupulation ( Bitwise AND, OR, XOR, NOT) do not work as expected
Here's the toggle_bit function:
function toggle_bit ( &$bitfield, $bitvalue )
{
$bitfield ^= $bitvalue;
}
Full Bug description available at: http://bugs.php.net/?id=3176