PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = -1; $x < 10;--$x) {print $x;} 123456789101112 1234567891011 infinite loop 12345678910 123456789101112 1234567891011 infinite loop 12345678910 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($i = 0; 0; $i++) {print"i";} 0 error infinite loop no output 0 error infinite loop 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++)for ($y = 1; $y < 5; $y++)print "Hello"; Hello….45 times Hello….40 times Hello….36 times Hello….50 times Hello….45 times Hello….40 times Hello….36 times Hello….50 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?if (-100)print "hi";elseprint "how are u"; no output how are u error hi no output how are u error hi 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";} hihi1 hihellohi1 hi1 hi hihi1 hihellohi1 hi1 hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($x = 0; $x <= 10; print ++$x) {print ++$x;} 123456789101112 infinite loop 1234567891011 12345678910 123456789101112 infinite loop 1234567891011 12345678910 ANSWER DOWNLOAD EXAMIANS APP