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"; how are u hi 2 error how are u hi 2 error 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;elsebreak; 1 error no output 0 1 error no output 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "a";if ($a)print "all";elseprint "some"; all error some no output all error some no output 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";} hihello hello hi error hihello hello hi error 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 hello no output error hi hello no output error 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"; how are u 1 error 0 how are u 1 error 0 ANSWER DOWNLOAD EXAMIANS APP