Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 4;
while (++$n)
{
while ($n --> 0)
print $n;
}
?>
β
Correct Answer: (A)
43210
<?php
$n = 4;
while (++$n)
{
while ($n --> 0)
print $n;
}
?>
You must be Logged in to update hint/solution