PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; 5 15 10 Error 5 15 10 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); -5 51 -4 41 -5 51 -4 41 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x;echo "$x"; 1 0 Nothing Error 1 0 Nothing Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; echo “Hello world” echo Hello world Hello world Error echo “Hello world” echo Hello world Hello world Error 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 123 111 012 000 123 111 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("__LINE__", "PHP is a scripting language");echo __LINE__; __LINE__ ERROR 2 PHP is a scripting language __LINE__ ERROR 2 PHP is a scripting language ANSWER DOWNLOAD EXAMIANS APP