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;} infinite loop hihello hihellobye no output infinite loop hihello hihellobye no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?while() {print "hi";} no output error infinite loop hi no output error infinite loop hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?const $b = 1;switch($b) {case 1:print "hi";break;case 1:print "hello";break;default:print "hi1";} hihello hi hello error hihello hi hello error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = 1;if (print $a)print "True";elseprint "False"; error no output true false error no output true false ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (-100)print "hi";elseprint "how are u"; how are u error hi no output how are u error hi no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 0; $x <= 10; print ++$x) {print ++$x;} 123456789101112 12345678910 1234567891011 infinite loop 123456789101112 12345678910 1234567891011 infinite loop ANSWER DOWNLOAD EXAMIANS APP