PHP Control Structures (Loop) What will be the output of the following PHP code ?$b = 1;switch($b) {case 1.0:print "hi";break;case 1:print "hello";break;default:print "hi1";} hello hihellohi1 hi hihello hello hihellohi1 hi hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i++) {print $i;}print $i; 01 infinite loop 1 0 01 infinite loop 1 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (!print "hi")if (print "hello")print "hi"; hihi no output hihellohi hi hihi no output hihellohi 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"; 0how are u how are u hi 0hi 0how are u how are u hi 0hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0;$i = -1;$i = 1) {print $i;if ($i != 1)break;} infinite loop 0 1 -1 infinite loop 0 1 -1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 1;if ($x == 2)print "hi";else if($x = 2)print $x;elseprint "how are u"; hi 2 how are u error hi 2 how are u error ANSWER DOWNLOAD EXAMIANS APP