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