PHP Control Structures (Loop) What will be the output of the following PHP code ?$a = "hello";if ($a.length)print $a.length;elseprint "hi"; error hellolength hi 5 error hellolength hi 5 ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count < 3;$count++); {print "hi";continue;print "hello";} hihihi hihellohihellohihello hi hellohellohello hihihi hihellohihellohihello hi hellohellohello 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;} 12345678910 1234567891011 infinite loop 123456789101112 12345678910 1234567891011 infinite loop 123456789101112 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"; how are u error hi no output how are u error hi no output ANSWER DOWNLOAD EXAMIANS APP
PHP Control Structures (Loop) What will be the output of the following PHP code ?for ($count = 0; $count<3;$count++); {print "hi";break;print "hello";} hellohellohello hihihi hihellohihellohihello hi hellohellohello hihihi hihellohihellohihello 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; 1 infinite loop 0 01 1 infinite loop 0 01 ANSWER DOWNLOAD EXAMIANS APP