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"; 510 105 Error 0 510 105 Error 0 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 ?$x = 0;function fun() {echo $GLOBALS['x'];$x++;}fun();fun();fun(); 000 Error Nothing 012 000 Error Nothing 012 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;} no output 2 3 1 no output 2 3 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("NEW_GOOD_NAME_CONSTANT", "I have a value");define("OLD_BAD_NAME_CONSTANT", NEW_GOOD_NAME_CONSTANT);echo NEW_GOOD_NAME_CONSTANT;echo OLD_BAD_NAME_CONSTANT; I have a valueI have a value I have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value I have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "one";$two = "one";print($one == $two); false 1 true error false 1 true error ANSWER DOWNLOAD EXAMIANS APP