PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "";if ($a)print "all";ifelseprint "some"; some error no output all some error no output all ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i++) {print $i;}print $i; infinite loop 01 1 0 infinite loop 01 1 0 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 loop In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely After for loopAfter for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely After for loop In for loopAfter for loopIn for loopAfter for loopIn for loopAfter for loop...infinitely After for loopAfter for loopAfter for loop...infinitely In for loopIn for loopIn for loopIn for loop...infinitely 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";} hello error hi hihello hello error hi hihello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 1; $x < 10; $x++)for ($y = 1; $y < 5; $y++)print "Hello"; Hello….36 times Hello….50 times Hello….40 times Hello….45 times Hello….36 times Hello….50 times Hello….40 times Hello….45 times 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 loopAfter for loop Infinite loop In for loop After for loop In for loopAfter for loop Infinite loop In for loop After for loop ANSWER DOWNLOAD EXAMIANS APP