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 ?$a = "1";$b = "0";if ((int)$a && $b)print"hi";elseprint "hello"; hello hi error no output hello hi 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….36 times Hello….40 times Hello….50 times Hello….45 times Hello….36 times Hello….40 times Hello….50 times Hello….45 times ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$b = 1;switch(print $b) {case 2:print "hello";break;case 1:print "hi";break;default:print "hi1";} 1hello error 1hi1 1hi 1hello error 1hi1 1hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?do {print "hi";}while(0);print "hello"; error hihello hello infinite loop error hihello hello infinite loop ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x = 0;if ($x == 1)if ($x >= 0)print "true";elseprint "false"; error false no output true error false no output true ANSWER DOWNLOAD EXAMIANS APP