PHP Operators and Expressions What will be the output of the following PHP code ?$a = 10;echo ++$a;echo $a++;echo $a;echo ++$a; 11121213 11111212 11111112 11111213 11121213 11111212 11111112 11111213 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 1234567891011121314….infinitely no output 01234567891011121314…infinitely error 1234567891011121314….infinitely no output 01234567891011121314…infinitely 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(); 123 111 Error 012 123 111 Error 012 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 1;$y = 2;if (++$x == $y++) {echo "true ", $y, $x;} no output true 22 true 33 true 23 no output true 22 true 33 true 23 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo $x-- != ++$x; 0 no output error 1 0 no output error 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("VAR_NAME","test");${VAR_NAME} = "value";echo VAR_NAME;echo ${VAR_NAME}; test testtest error, constant value cannot be changed testvalue test testtest error, constant value cannot be changed testvalue ANSWER DOWNLOAD EXAMIANS APP