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(); 111 123 Error 012 111 123 Error 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 01 21 02 12 01 21 02 12 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} 3 1 no output 2 3 1 no output 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Hello world Error Nothing Hello world in italics Hello world Error Nothing Hello world in italics ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$on_e = 1;$tw_o = 2;$thre_e = 3;$fou_r = 4;echo $on_e / $tw_o + $thre_e / $fou_r; Error 0.75 0.05 1.25 Error 0.75 0.05 1.25 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; 8 $z 1 15 8 $z 1 15 ANSWER DOWNLOAD EXAMIANS APP