What is the result of the following bitwise operation in PHP?

What is the result of the following bitwise operation in PHP?

1 ^ 2
A . 1
B . 3
C . 2
D . 4
E . -1

Answer: B

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments