southbeach
Programmer
I have stared at this and cannot fully understand it
will return 10 and
will return 5
I like to think that I am a fairly smart individual but this one has proved me wrong.
php.net defines this as being able to turn specific bits within a string ON/OFF ... What? Further, a "bit" of info on why/where would I need something like this please!
Can you please explain this in plain English?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.
Code:
echo 12 ^ 6
Code:
echo 12 ^ 9
I like to think that I am a fairly smart individual but this one has proved me wrong.
php.net defines this as being able to turn specific bits within a string ON/OFF ... What? Further, a "bit" of info on why/where would I need something like this please!
Can you please explain this in plain English?
--
SouthBeach
The good thing about not knowing is the opportunity to learn - Yours truly, 2008.