PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.1)print "hi";elseprint "how are u"; hi error no output how are u hi error no output how are u 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 error how are u 2 hi error how are u 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$b = 1;switch(print $b) {case 2:print "hello";break;case 1:print "hi";break;default:print "hi1";} 1hi 1hi1 error 1hello 1hi 1hi1 error 1hello 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; 0 error no output 1 0 error no output 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 10;if (1)print "all";elseprint "some"elseprint "none"; some all none error some all none error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i < 5; $i++) {for ($j = $i;$j > $i; $i--)print $i;} infinite loop 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 no output infinite loop 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 no output ANSWER DOWNLOAD EXAMIANS APP