<?php$i = 2;while (++$i){ while (--$i > 0) print $i;}?>
<?php
$i = 2;
while (++$i)
{
while (--$i > 0)
print $i;
}
?>
210
10
no output
infinite loop
View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option D
Explanation :
The loop never ends as i is always incremented and then decremented.
Be The First To Comment