-5

I had a question in one interview, and still now I didn't get it's answer, What would be the output of print 4 << 5 operations in PHP ?

It's answer 128 I know, but how it is, please explain me

user
  • 1
  • 2

1 Answers1

1

<< is a bitwise operator

if you read the manual

It will start to make sense.

Anigel
  • 3,435
  • 1
  • 17
  • 23