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; 5 10 15 Error 5 10 15 Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;$w = 4;$y *= $w /= $y;echo $y, $w; 80.5 82 42 44 80.5 82 42 44 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;$b = 4;$c = fun(10,4);function fun($a,$b) {$b = 3;return $a - $b + $b - $a;}echo $a;echo $b;echo $c; 4100 1400 410 104 4100 1400 410 104 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ? Hello World Missing semicolon error Nothing Error Hello World Missing semicolon error Nothing Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while ((--$i > ++$i) - 1) {print $i;} error no output 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely error no output 00000000000000000000….infinitely -1-1-1-1-1-1-1-1-1-1…infinitely ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Toyota BMW Error Volvo Toyota BMW Error Volvo ANSWER DOWNLOAD EXAMIANS APP