PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{echo "$x";} Nothing 0 5 Error Nothing 0 5 Error 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}; testvalue testtest test error, constant value cannot be changed testvalue testtest test error, constant value cannot be changed 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 ERROR I have a value I have a valueNEW_GOO_NAME_CONSTANTS I have a valueI have a value ERROR I have a value 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 ?echo "This", "was", "a", "bad", "idea"; This was a bad idea Error This, was, a, bad, idea Thiswasabadidea This was a bad idea Error This, was, a, bad, idea Thiswasabadidea ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; ERROR IF:42 IF: No output ERROR IF:42 IF: No output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; 5.666667 none of above 5.67 2 5.666667 none of above 5.67 2 ANSWER DOWNLOAD EXAMIANS APP