PHP Control Structures (Loop) What will be the output of the following PHP code ?if (print "hi" - 1)print "hello" error hihello hi no output error hihello hi no output ANSWER DOWNLOAD EXAMIANS APP
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"; In for loop Infinite loop In for loopAfter for loop After for loop In for loop Infinite loop In for loopAfter for loop After for loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = array("hi", "hello", "bye");foreach ($a as $value) {if (count($a) == 2)print $value;} hihellobye no output infinite loop hihello hihellobye no output infinite loop hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; 0; $i++) {print"i";} infinite loop error no output 0 infinite loop error no output 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = "";while($i) {print "hi";}print "hello"; infinite loop hello error hihello infinite loop hello error hihello 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 b:print "hi";break;} no output hi error hello no output hi error hello ANSWER DOWNLOAD EXAMIANS APP