What will be the output of the following PHP code ?<br/>print "echo hello world"; nothing hello world echo hello world error 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 3.5 1.75 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$i = 10;<br/>$j = 0;<br/>if ($i || ($j = $i + 10)) {<br/>echo "true";<br/>}<br/>echo $j; 20 0 true0 true20 TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>echo $red; Error Nothing 0 True TRUE ANSWER : ? YOUR ANSWER : ?
PHP will automatically convert strings to numbers when it needs to. TRUE FALSE TRUE ANSWER : ? YOUR ANSWER : ?
If you do something to an integer that makes it larger than the maximum allowable integer or smaller than the minimum possible integer, the PHP interpreter converts the result into a . . . . . String Floating point number None of above Integers TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$one = "Hello";<br/>$two = "World";<br/>echo "$one$two"; Hello HelloWorld $one$two Error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$color = "red";<br/>$color = "green";<br/>echo "$color"; red green red error green TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>< ? php < ? php echo "Hello world"; ? > ? > Nothing Hello world Hello Error TRUE ANSWER : ? YOUR ANSWER : ?
What will be the output of the following PHP code ?<br/>$a = 5;<br/>$b = -7;<br/>$c =0;<br/>$d = ++$a && ++$b || ++$c;<br/>print $d;<br/>print $a;<br/>print $a; 15 05 06 16 TRUE ANSWER : ? YOUR ANSWER : ?