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";} hihellohi1 hihello hi1 hi hihellohi1 hihello hi1 hi 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 hi hihellohi1 hihello hello hi hihellohi1 hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?while() {print "hi";} hi infinite loop no output error hi infinite loop no output error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; $i % ++$i; $i++) {print"i";} infinite loop error 0 no output infinite loop error 0 no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = -1; $x < 10;--$x) {print $x;} 12345678910 infinite loop 123456789101112 1234567891011 12345678910 infinite loop 123456789101112 1234567891011 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i == 2; ++$i == $i; ++$i)print "In for loop ";print "After loop"; After for loopAfter for loopAfter for loop...infinitely After for loop In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely After for loopAfter for loopAfter for loop...infinitely After for loop In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely ANSWER DOWNLOAD EXAMIANS APP