PHP Operators and Expressions What will be the output of the following PHP code ?# echo "Hello world";echo "# Hello world"; Error # Hello world Hello world# Hello world Hello world Error # Hello world Hello world# Hello world Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun($x,$y) {$x = 4;$y = 3;$z = $x + $y / $y + $x;echo "$z";}fun(3, 4); 9 0 7 Error 9 0 7 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";echo "$color";echo "$COLOR";echo "$Color"; redredred redred red Error redredred redred red Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$y = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; 15 10 5 Error 15 10 5 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print("this"."was"."a"."bad"."idea"); thiswasabadidea this was a bad idea nothing error thiswasabadidea this was a bad idea nothing error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 10;$y = 4;$z = 3;echo $x % $y % $z; 2 1 0 Error 2 1 0 Error ANSWER DOWNLOAD EXAMIANS APP