Briefing Zend Knowledge

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.
3

B.
-1

C.
2

D.
1

E.
4

Explanation: