wolves Posted August 22, 2006 Share Posted August 22, 2006 what the meaning of [code]$myvar ^= ~$othervar;[/code]??? ??? ???tks Quote Link to comment Share on other sites More sharing options...
Corona4456 Posted August 22, 2006 Share Posted August 22, 2006 $a ^= $b $a = $a ^ $b Bitwise Xorthe ~ is just a bit flip of all the bits in the var that it precedes. (if I'm not mistaken) Quote Link to comment Share on other sites More sharing options...
wolves Posted August 22, 2006 Author Share Posted August 22, 2006 tks man :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.