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 Quote Link to comment 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") 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.