Q. What will be the output of the following PHP code ?
Code:<?php
$m = 5;
while (++$m)
{
while ($m > 0)
print $m;
}
?>
β
Correct Answer: (D)
66666666.......infinite time
<?php
$m = 5;
while (++$m)
{
while ($m > 0)
print $m;
}
?>
You must be Logged in to update hint/solution