wolves Posted August 22, 2006 Share Posted August 22, 2006 what the meaning of [code]$myvar ^= ~$othervar;[/code]??? ??? ???tks Link to comment https://forums.phpfreaks.com/topic/18333-meaning-of/ 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) Link to comment https://forums.phpfreaks.com/topic/18333-meaning-of/#findComment-78773 Share on other sites More sharing options...
wolves Posted August 22, 2006 Author Share Posted August 22, 2006 tks man :) Link to comment https://forums.phpfreaks.com/topic/18333-meaning-of/#findComment-78776 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.