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 ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} no output result is 1 error result is true no output result is 1 error result is true ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Missing semicolon error Hello World Error Nothing Missing semicolon error Hello World Error Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print ++$var++; error 5 3 4 error 5 3 4 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = "$winner";$b = "/$looser";echo $a,$b; / $looser /$looser $winner/$looser / $looser /$looser $winner/$looser ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 0;$var1 = ($var1 + 5)++;echo $var1; 7 error 5 6 7 error 5 6 ANSWER DOWNLOAD EXAMIANS APP