What will be the output of the following PHP code ?<br/>$a = 10;<br/>$b = 11;<br/>if ($a < ++$a || $b < ++$b)<br/>print "hello";<br/>else<br/>print "hi"; hello hi no output error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>if (print "hi" - 1)<br/>print "hello" error no output hi hihello TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>switch($b) {<br/>case 2:<br/>print "hello";<br/>break;<br/>case b:<br/>print "hi";<br/>break;<br/>} hi hello no output error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>while() {<br/>print "hi";<br/>} no output error infinite loop hi TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>for ($i = 0; $i < 5; $i++) {<br/>for(; $i < 5; $i++)<br/>print"i";<br/>} infinite loop no output iiiiiiiiiiiiiiiiiiiiiiiii iiiii TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = 0;<br/>while($i = 10) {<br/>print "hi";<br/>}<br/>print "hello"; hihello infinite loop hello error 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"; false error no output true TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>for ($x = -1; $x < 10;--$x) {<br/>print $x;<br/>} 12345678910 1234567891011 123456789101112 infinite loop TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = "";<br/>while($i) {<br/>print "hi";<br/>}<br/>print "hello"; error hello hihello infinite loop TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>for ($i = 0; -5 ; $i++) {<br/>print"i";<br/>if ($i == 3)<br/>break;<br/>} 0 1 2 3 error 0 1 2 3 4 0 1 2 3 4 5 TRUE ANSWER : ? YOUR ANSWER : ?