[PHP-DEV] Bug #3176 Updated: Using Bit manupulation ( Bitwise AND, OR, XOR, NOT) do not work as expected From: Bug Database (php-dev <email protected>)
Date: 01/11/00

ID: 3176
User Update by: markj <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>