&lt;?php$x = 1;if &#40;$x == 2&#41;    print &quot;hi&quot; ;else if&#40;$x = 2&#41;    print $x;else    print &quot;how are u&quot;;?&gt;
A. error
B. 2
C. hi
D. how are u
Answer:A
&lt;?php$x = 1;if &#40;$x == 2&#41;    print &quot;hi&quot; ;else if&#40;$x = 2&#41;    print $x;else    print &quot;how are u&quot;;?&gt;
A. error B. 2 C. hi D. how are u
Explanation: Enters if else as first condition is false and thus x is set to 2.