What will be the output of the following PHP code ?<br/>$a = "hello";<br/>if (strlen($a))<br/>print strlen($a);<br/>else<br/>print "hi"; hi error hellolength 5 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = 0;<br/>while ($i < 3) {<br/>$i++;<br/>}<br/>print $i; 0 3 2 1 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>const $b = 1;<br/>switch($b) {<br/>case 1:<br/>print "hi";<br/>break;<br/>case 1:<br/>print "hello";<br/>break;<br/>default:<br/>print "hi1";<br/>} error hello hi hihello TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = "";<br/>if ($a)<br/>print "all";<br/>if<br/>else<br/>print "some"; error some no output all TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$x = 0;<br/>if ($x++)<br/>print "hi";<br/>else<br/>print "how are u"; how are u hi error no output TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = 10;<br/>if (0)<br/>print "all";<br/>if<br/>else<br/>print "some" some error all no output TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>if (-100)<br/>print "hi";<br/>else<br/>print "how are u"; error hi no output how are u TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = 1;<br/>if ($a--)<br/>print "True";<br/>if ($a++)<br/>print "False"; true no output error false TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = "hello";<br/>if ($a.length)<br/>print $a.length;<br/>else<br/>print "hi"; 5 error hi hellolength TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>for(;;) {<br/>print "10";<br/>} error no output infinite loop 10 TRUE ANSWER : ? YOUR ANSWER : ?