Exam4Training

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

Exit mobile version