PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if ($y-- == ++$y) {echo $y;} no output 3 2 1 no output 3 2 1 ANSWER DOWNLOAD EXAMIANS APP
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 Error 123 012 111 Error 123 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?function fun() {$x = 0;echo $x;$x++;}fun();fun();fun(); 111 123 012 000 111 123 012 000 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?static $x = 0;function fun() {echo $x;$x++;}fun();fun();fun(); Error 123 Nothing 012 Error 123 Nothing 012 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(); 012 Error 000 123 012 Error 000 123 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 testthis testthisalsothisalso testthisthisalso error at line 4 testthis testthisalsothisalso testthisthisalso ANSWER DOWNLOAD EXAMIANS APP