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"; error 0 1 how are u error 0 1 how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?switch($b) {case 2:print "hello";break;case 1:print "hi";break;} hi no output hello error hi no output hello error 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
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "";if ($a)print "all";ifelseprint "some"; all error no output some all error no output some ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if ($a.length)print $a.length;elseprint "hi"; hi error 5 hellolength hi error 5 hellolength ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = -1; $x < 10;--$x) {print $x;} 123456789101112 12345678910 infinite loop 1234567891011 123456789101112 12345678910 infinite loop 1234567891011 ANSWER DOWNLOAD EXAMIANS APP