PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Thiswasabadidea This, was, a, bad, idea Error This was a bad idea Thiswasabadidea This, was, a, bad, idea Error This was a bad idea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x=0; function fun() {echo $GLOBALS['x'];$GLOBALS['x']++;}fun();fun();fun(); 000 123 Error 012 000 123 Error 012 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; 410 1400 4100 104 410 1400 4100 104 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $red; Nothing Error True 0 Nothing Error True 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3.5;$y = 2;$z = 2;echo $x / $y / $z; 0.875 Error 1.75 3.5 0.875 Error 1.75 3.5 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;while (++$i && --$i) {print $i;} error 01234567891011121314…infinitely 1234567891011121314….infinitely no output error 01234567891011121314…infinitely 1234567891011121314….infinitely no output ANSWER DOWNLOAD EXAMIANS APP