PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i++) {print $i;}print $i; 01 1 infinite loop 0 01 1 infinite loop 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "1";switch ($a) {case 1:print "hi";case 2:print "hello";default:print "hi1";} hi1 hi hihellohi1 hihi1 hi1 hi hihellohi1 hihi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for(++$i; ++$i; ++$i) {print $i;if ($i == 4)break;} 1234 134 24 1 1234 134 24 1 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 hihellohi1 hihello hi hello hihellohi1 hihello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "2";switch ($a) {case 1:print "hi";case 2:print "hello";break;default:print "hi1";} hihellohi1 hello hi1 hihi1 hihellohi1 hello hi1 hihi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i++; $i == 1; $i = 2)print "In for loop ";print "After loop"; In for loopAfter for loop In for loop Infinite loop After for loop In for loopAfter for loop In for loop Infinite loop After for loop ANSWER DOWNLOAD EXAMIANS APP