Q. What will be the output of the following PHP code ?
Code:<?php
for ($n = -5; $n < 10; --$n)
{
print $n;
}
?>
β
Correct Answer: (C)
-5-6-7-8-9........infinite time
<?php
for ($n = -5; $n < 10; --$n)
{
print $n;
}
?>
You must be Logged in to update hint/solution