PHP Control Structures (Loop) What will be the output of the following PHP code ?for (1; $i == 1; $i = 2)print "In for loop ";print "After loopn"; Infinite loop In for loop After for loop In for loopAfter for loop Infinite loop In for loop After for loop In for loopAfter for loop 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 hi hi1 hihellohi1 hihello hi hi1 hihellohi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;for ($i) {print $i;} no output error infinite loop 0 no output error infinite loop 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.0)print "hi";elseprint "how are u"; no output error hi how are u no output error hi how are u ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if (echo $a)print "True";elseprint "False"; true error no output false true error no output false ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 2;if ($a-- - --$a - $a)print "hello";elseprint "hi"; error hello hi no output error hello hi no output ANSWER DOWNLOAD EXAMIANS APP