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