Q. What will be the output of the following PHP code ?
Code:
<?php
$emp = array("Neha", "Sumi", "Abhay", "Krishna");
for ($z = 0; $z < count($emp); $z)
{
if ($emp[$z++] == "Abhay")
continue;
printf ($emp[$z]);
}
?>
β
Correct Answer: (C)
SumiAbhay