PHP Control Structures (Loop) What will be the output of the following PHP code ?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x = 0; $x < count($user); $x++) {if ($user[$x] == "Shrek")continue;printf ($user[$x]);} No output AshleyBaleBlank AshleyBale AshleyBaleShrek No output AshleyBaleBlank AshleyBale AshleyBaleShrek ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; -5 ; $i++) {print"i";if ($i == 3)break;} 0 1 2 3 4 error 0 1 2 3 0 1 2 3 4 5 0 1 2 3 4 error 0 1 2 3 0 1 2 3 4 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "hi" - 1)print "hello" error hihello hi no output error hihello hi no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x =1; $x < 10;++$x) {print "*t";} infinite loop *********** ********** ********* infinite loop *********** ********** ********* ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 10;$y = 20;if ($x > $y && 1||1)print "hi";elseprint "how are u"; hi no output error how are u hi no output error how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if (print $a)print "True";elseprint "False"; error true no output false error true no output false ANSWER DOWNLOAD EXAMIANS APP