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