PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {static $x = 0;echo $x;$x++;}fun();fun();fun(); Error 123 111 012 Error 123 111 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "This"."was"."a"."bad"."idea"; Error This, was, a, bad, idea Thiswasabadidea This was a bad idea Error This, was, a, bad, idea Thiswasabadidea This was a bad idea 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); 439 43 349 943 439 43 349 943 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){echo "$x";}fun(); 0 5 Error Nothing 0 5 Error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "1";$color2 = "1";echo "$color1" + "$color2"; 11 1 2 0 11 1 2 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (--$y <> ($y != $y++)) {echo $y;} 1 2 0 no output 1 2 0 no output ANSWER DOWNLOAD EXAMIANS APP