PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if (strlen($a))print strlen($a);elseprint "hi"; error hellolength 5 hi error hellolength 5 hi 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"; hihello infinite loop error hello hihello infinite loop error hello ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.0)print "hi";elseprint "how are u"; no output hi how are u error no output hi how are u error ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;for ($i) {print $i;} 0 no output error infinite loop 0 no output error infinite loop 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 error hello hihello hi error hello 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"; 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 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 ANSWER DOWNLOAD EXAMIANS APP