Question:What is the output for the following code?
<?php $usernames = array("Grace","Doris","Gary","Nate","missing","Tom"); for ($x=0; $x < count($usernames); $x++) { if ($usernames[$x] == "missing") continue; printf("Staff member: %s <br />", $usernames[$x]); } ?>
A Staff member: Grace Staff member: Doris Staff member: Gary Staff member: Nate Staff member: Tom
B Staff member: Gary Staff member: Nate Staff member: Tom Staff member: Grace Staff member: Doris
C Grace Doris Gary Nate missing Tom
D none
+ AnswerA
+ Report