PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count<3;$count++); {print "hi";break;print "hello";} hi hellohellohello hihellohihellohihello hihihi hi hellohellohello hihellohihellohihello hihihi 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"; how are u hi 0how are u 0hi how are u hi 0how are u 0hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = "";while ($i) {print "hi";}while($i < 8)$i++;print "hello"; Hi is printed 8 times, hello 7 times and then hi 2 times Hi is printed once, hello 7 times and then hi 2 times Hi is printed once, hello 7 times Hi is printed 10 times, hello 7 times Hi is printed 8 times, hello 7 times and then hi 2 times Hi is printed once, hello 7 times and then hi 2 times Hi is printed once, hello 7 times Hi is printed 10 times, hello 7 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x = $x& 0)print $x;elseprint "how are u"; 1 0 error how are u 1 0 error how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = array("hi", "hello", "bye");foreach ($a as $value) {if (count($a) == 2)print $value;} no output hihello infinite loop hihellobye no output hihello infinite loop hihellobye ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (0)print "all";ifelseprint "some" error all no output some error all no output some ANSWER DOWNLOAD EXAMIANS APP