PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while($i = 10) {print "hi";}print "hello"; infinite loop hello hihello error infinite loop hello hihello error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 0;if ($x++)print "hi";elseprint "how are u"; error how are u no output hi error how are u no output hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "0")print "hi";elseprint "how are u"; hi 0hi how are u 0how are u hi 0hi how are u 0how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i++; $i == 1; $i = 2)print "In for loop ";print "After loop"; Infinite loop After for loop In for loop In for loopAfter for loop Infinite loop After for loop In for loop In for loopAfter for loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";$b = "0";if ((int)$a && $b)print"hi";elseprint "hello"; no output error hi hello no output error hi hello ANSWER DOWNLOAD EXAMIANS APP
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) - 1; $x++) {if ($user[$x++] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank AshleyShrek BaleBlank Bale AshleyBaleBlank AshleyShrek BaleBlank Bale ANSWER DOWNLOAD EXAMIANS APP