56.
What will be the output of the following PHP code ?
<?php
$i = 0;
while (++$i && --$i)
{   
    print $i;
}
?>

57.
What will be the output of the following PHP code ?
<?php
$i = 0;
while ((--$i > ++$i) - 1)
{   
    print $i;
}
?>

58.
What will be the output of the following PHP code ?
<?php
$i = 2;
while (++$i)
{   
    while ($i --> 0)
    print $i;
}
?>

59.
What will be the output of the following PHP code ?
<?php
$i = 2;
while (++$i)
{   
    while (--$i > 0)
    print $i;
}
?>

60.
What will be the output of the following PHP code ?
<?php
$i = 0;
for ($i)
{
    print $i;
}
?>

Read More Section(Control Structures(Loop in PHP))

Each Section contains maximum 70 questions. To get more questions visit other sections.