PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; red error nothing red red red error nothing red red 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; 10 15 Error 5 10 15 Error 5 ANSWER DOWNLOAD EXAMIANS APP
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; 15 5 Error 10 15 5 Error 10 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; 1 Error 2 0 1 Error 2 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 12;--$a;echo $a++; error 12 10 11 error 12 10 11 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(); 123 012 111 000 123 012 111 000 ANSWER DOWNLOAD EXAMIANS APP