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 valueNEW_GOO_NAME_CONSTANTS ERROR I have a valueI have a value I have a value I have a valueNEW_GOO_NAME_CONSTANTS ERROR I have a valueI have a value I have a value ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; error red green red green error red green red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 0x6db7;print $a<<6; 0x6dc0 error no output 1797568 0x6dc0 error no output 1797568 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions The result of below two statements will be:Round(2.5)Round(-2.5) 3.5, -3.5 2, -2 3, -3 2.5, -2 3.5, -3.5 2, -2 3, -3 2.5, -2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class Constants{define('MIN_VALUE', '0.0');define('MAX_VALUE', '1.0');public static function getMinValue() {return self::MIN_VALUE;}public static function getMaxValue() {return self::MAX_VALUE;}}echo Constants::getMinValue();echo Constants::getMaxValue(); ERROR No output 0.01.0 01 ERROR No output 0.01.0 01 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 1;if ($i++ && ($i == 1))printf("Yesn$i");elseprintf("Non$i"); Yes 1 No 2 No 1 Yes 2 Yes 1 No 2 No 1 Yes 2 ANSWER DOWNLOAD EXAMIANS APP