PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;for ($i) {print $i;} infinite loop no output error 0 infinite loop no output error 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "2";switch ($a) {case 1:print "hi";case 2:print "hello";break;default:print "hi1";} hihellohi1 hi1 hihi1 hello hihellohi1 hi1 hihi1 hello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?const $b = 1;switch($b) {case 1:print "hi";break;case 1:print "hello";break;default:print "hi1";} error hihello hello hi error hihello hello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 0;if ($x == 1)if ($x >= 0)print "true";elseprint "false"; no output false true error no output false true error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if (strlen($a))print strlen($a);elseprint "hi"; hellolength 5 error hi hellolength 5 error hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} infinite loop 10 error no output infinite loop 10 error no output ANSWER DOWNLOAD EXAMIANS APP