PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Hello world Nothing Error Hello Hello world Nothing Error Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); 000 Error 123 012 000 Error 123 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "red";echo "$color1" + "$color2"; 0 redgreen 1 red green 0 redgreen 1 red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$j = 0;if ($i && ($j = $i + 10)) {echo "true";}echo $j; 0 true0 10 true10 0 true0 10 true10 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 10;if ($a = 5)$b--;print $a;print $b--; 109 108 58 59 109 108 58 59 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 000 012 111 123 000 012 111 123 ANSWER DOWNLOAD EXAMIANS APP