What will be the output of the following PHP code ?<br/>$one = "Hello";<br/>$two = "World";<br/>echo $one, $two; World Hello World Hello HelloWorld TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = 10;<br/>$b = 10;<br/>if ($a = 5)<br/>$b--;<br/>print $a;<br/>print $b--; 108 58 109 59 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$y = 2;<br/>if ($y-- == ++$y) {<br/>echo $y;<br/>} 2 3 1 no output TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = 1;<br/>$b = 1;<br/>$d = 1;<br/>print ++$a + ++$a+$a++;<br/>print $a++ + ++$b;<br/>print ++$d + $d++ + $a++; 368 error 742 869 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = 0;<br/>$x = $i++;<br/>$y = ++$i;<br/>print $x;<br/>print $y; 21 01 12 02 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>echo "This is India"; This is India This is Error This is India TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = "";<br/>while ($i = 10) {<br/>print "hi";<br/>}<br/>print "hello"; hihello infinite loop error hello TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$one = 1;<br/>print($one);<br/>print $one; Error 01 11 10 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$x = 3.5;<br/>$y = 2;<br/>$z = 2;<br/>echo $x / $y / $z; Error 0.875 1.75 3.5 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$color1 = red;<br/>$color2 = green;<br/>echo "$color1"."$color2"; error green red green red TRUE ANSWER : ? YOUR ANSWER : ?