

MCQOPTIONS
Saved Bookmarks
1. |
What will be the output of the following PHP code ? <?php $user = array("Ashley", "Bale", "Shrek", "Blank"); for ($x=0; $x < count($user) - 1; $x++) { if ($user[$x++] == "Shrek") continue; printf ($user[$x]); } ?> |
A. | AshleyBaleBlank |
B. | Bale |
C. | AshleyShrek |
D. | BaleBlank |
Answer» B. Bale | |