PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Nothing 0 Error True Nothing 0 Error True 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 410 1400 104 4100 410 1400 104 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = "test";$y = "this";$z = "also";$x .= $y .= $z ;echo $x;echo $y; error at line 4 testthisalsothisalso testthis testthisthisalso error at line 4 testthisalsothisalso testthis testthisthisalso 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; 5 10 Error 15 5 10 Error 15 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{$x = 10;echo "$x";}echo "$x"; 510 error 1010 105 510 error 1010 105 ANSWER DOWNLOAD EXAMIANS APP