PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if ($a.length)print $a.length;elseprint "hi"; hellolength error 5 hi hellolength error 5 hi 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 error how are u no output hi error how are u no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$b = 1;switch($b) {case 1.0:print "hi";break;case 1:print "hello";break;default:print "hi1";} hi hihellohi1 hihello hello hi hihellohi1 hihello hello 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;} infinite loop 1234567891011 123456789101112 12345678910 infinite loop 1234567891011 123456789101112 12345678910 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$x;if ($x == 0)print "hi";elseprint "how are u";print "hello" how are uhello no output hihello hi how are uhello no output hihello hi ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?$i = 0;while ($i++) {print $i;}print $i; infinite loop 0 01 1 infinite loop 0 01 1 ANSWER DOWNLOAD EXAMIANS APP