ansharma Posted February 22, 2011 Share Posted February 22, 2011 Hi every one, I just want to know what is the use of '<<' and '>>' operators in php Link to comment https://forums.phpfreaks.com/topic/228479-bitwise-operators/ Share on other sites More sharing options...
AbraCadaver Posted February 22, 2011 Share Posted February 22, 2011 You could check the manual: http://www.php.net/manual/en/language.operators.bitwise.php << Shift the bits of $a $b steps to the left (each step means "multiply by two") >> Shift the bits of $a $b steps to the right (each step means "divide by two") Link to comment https://forums.phpfreaks.com/topic/228479-bitwise-operators/#findComment-1178197 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.