PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; ERROR No output IF:42 IF: ERROR No output IF:42 IF: 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; 5 Error 15 10 5 Error 15 10 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3;function fun($x = 3, $y = 4) {$z = $x+$y/$y+$x;echo "$z";}echo $x;echo $y;echo $z;fun($x, $y); 43 943 349 439 43 943 349 439 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; Hello world Error echo “Hello world” echo Hello world Hello world Error echo “Hello world” echo Hello world ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 0x6db7;print $a<<6; error 1797568 no output 0x6dc0 error 1797568 no output 0x6dc0 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 Error red redred redredred Error red redred ANSWER DOWNLOAD EXAMIANS APP