&lt;?phpfor &#40;$i == 2; ++$i == $i; ++$i&#41;    print &quot;In for loop &quot;;print &quot;After loop\n&quot;;?&gt;
A. In for loopIn for loopIn for loopIn for loop……infinitely
B. After for loopAfter for loopAfter for loop……..infinitely
C. In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop…..infinitely
D. After for loop
Answer:A
&lt;?phpfor &#40;$i == 2; ++$i == $i; ++$i&#41;    print &quot;In for loop &quot;;print &quot;After loop\n&quot;;?&gt;
A. In for loopIn for loopIn for loopIn for loop……infinitely B. After for loopAfter for loopAfter for loop……..infinitely C. In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop…..infinitely D. After for loop
Explanation: The loop never exits as the condition ++X == X is always satisfied,evaluated from right to left.