&lt;?php$y = 2;if &#40;--$y == 2 || $y xor --$y&#41;&#123;    echo $y;&#125;?&gt;
A. 1
B. 0
C. 2
D. no output
Answer:A
&lt;?php$y = 2;if &#40;--$y == 2 || $y xor --$y&#41;&#123;    echo $y;&#125;?&gt;
A. 1 B. 0 C. 2 D. no output
Explanation: –$y == 2 is false but y is decremented, the xor gives true if only one of the operands are true, thus 1 xor 0 is true.