I read the following Stack Overflow questions, and I understand the differences between bitwise and logical.
Difference between & and && in
If you want to know more how it works check out this site:
http://www.bitwiseoperatorcalculator.com/
Coming from PHP, I have never used it before but just reading for fun this site gives simple explanations!