Q. What will be the output of the following PHP code ?
Code:
<?php
$k = 10;
while (--$k > 0)
{
$k++;
print $k;
print "Yami";
}
?>
β
Correct Answer: (D)
10Yami......infinite time