PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while(?++$i || --$i) {print $i;} 1 0 1234567891011121314...infinitely 01234567891011121314...infinitely 1 0 1234567891011121314...infinitely 01234567891011121314...infinitely 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); $x++) {if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleShrek AshleyBale No output AshleyBaleBlank AshleyBaleShrek AshleyBale No output AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count < 3;$count++); {print "hi";continue;print "hello";} hi hellohellohello hihihi hihellohihellohihello hi hellohellohello hihihi hihellohihellohihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 1; $x < 10; $x++)for ($y = 1; $y < 5; $y++)print "Hello"; Hello….45 times Hello….50 times Hello….36 times Hello….40 times Hello….45 times Hello….50 times Hello….36 times Hello….40 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i < 5; $i++) {for(; $i < 5; $i++)print"i";} infinite loop iiiiiiiiiiiiiiiiiiiiiiiii no output iiiii infinite loop iiiiiiiiiiiiiiiiiiiiiiiii no output iiiii ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while($i = 10) {print "hi";}print "hello"; hihello infinite loop hello error hihello infinite loop hello error ANSWER DOWNLOAD EXAMIANS APP