Q. What will be the output of the following PHP code?
Code:
<?php
$user = array("Ashley", "Bale", "Shrek", "Blank");
for ($x=0; $x < count($user); $x++)
{
if ($user[$x] == "Shrek") continue;
printf ($user[$x]);
}
?>
β
Correct Answer: (B)
AshleyBaleBlank