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; Error 15 5 10 Error 15 5 10 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"; red Error redred redredred red Error redred redredred ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$four4 = 4;$three3 = 3;$two2 = 2;echo $four4 + $three3 / $two2 - 1; 3.5 Error 7 4.5 3.5 Error 7 4.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; $z 1 8 15 $z 1 8 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This", "was", "a", "bad", "idea"; This was a bad idea Error This, was, a, bad, idea Thiswasabadidea This was a bad idea Error This, was, a, bad, idea Thiswasabadidea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = -3;$z = 11;echo 4 + $y * $z / $x; -4.25 4.25 3.25 -3.25 -4.25 4.25 3.25 -3.25 ANSWER DOWNLOAD EXAMIANS APP