PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if (strlen($a))print strlen($a);elseprint "hi"; hellolength hi error 5 hellolength hi error 5 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"; Infinite loop After for loop In for loopAfter for loop In for loop Infinite loop After for loop In for loopAfter for loop In for loop 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 hi1 hello hihi1 hihellohi1 hi1 hello hihi1 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (0.1)print "hi";elseprint "how are u"; hi how are u error no output hi how are u error 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;} infinite loop 123456789101112 12345678910 1234567891011 infinite loop 123456789101112 12345678910 1234567891011 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