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 error, constant value cannot be changed testtest testvalue test error, constant value cannot be changed testtest testvalue ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} result is true result is 1 error no output result is true result is 1 error no output 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(); Error 012 111 123 Error 012 111 123 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 0 2 192 error 0 2 192 error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of both the below expressions in PHP will be same:1) 3+4*22) (3+4)*2 FALSE TRUE FALSE TRUE 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;} 0 no output 1 2 0 no output 1 2 ANSWER DOWNLOAD EXAMIANS APP