PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; 105 510 Error 0 105 510 Error 0 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 error, constant value cannot be changed testvalue testtest test error, constant value cannot be changed testvalue testtest ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP can automatically convert integers to floating point numbers and floating point numbers to integers. TRUE FALSE TRUE FALSE 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 111 123 012 Error 111 123 012 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 ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true0 true20 20 0 true0 true20 20 0 ANSWER DOWNLOAD EXAMIANS APP