PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count < 3;$count++); {print "hi";continue;print "hello";} hellohellohello hi hihihi hihellohihellohihello hellohellohello hi hihihi hihellohihellohihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; -5 ; $i++) {print"i";if ($i == 3)break;} 0 1 2 3 4 error 0 1 2 3 4 5 0 1 2 3 0 1 2 3 4 error 0 1 2 3 4 5 0 1 2 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";$a = 1;$b = 1;switch($a) {case $a * $b:print "hi";break;case $a / $b:print "hello";break;default:print "hi1";} hihello hihellohi1 hi1 hi hihello hihellohi1 hi1 hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 1; $count != 20;$count++) {print $count;$count++;} Infinite 13579…21 1357…19 123…….20 Infinite 13579…21 1357…19 123…….20 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "0")print "hi";elseprint "how are u"; hi 0how are u how are u 0hi hi 0how are u how are u 0hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(;;) {print "10";} error infinite loop 10 no output error infinite loop 10 no output ANSWER DOWNLOAD EXAMIANS APP