&lt;?phpfor &#40;$i = 0; $i &lt; 5; $i++&#41; &#123;    for &#40;$j = $i; $j &gt; 0; $i--&#41;        print $i;&#125;?&gt;
A. infinite loop
B. 0 1 2 3 4 5
C. 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5
D. no output
Answer:A
&lt;?phpfor &#40;$i = 0; $i &lt; 5; $i++&#41; &#123;    for &#40;$j = $i; $j &gt; 0; $i--&#41;        print $i;&#125;?&gt;
A. infinite loop B. 0 1 2 3 4 5 C. 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 D. no output
Explanation: In the second loop j value is not being changed.