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 value 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 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color = "red";$color = "green";echo "$color"; green error red red green green error red red green ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$one = "Hello";$two = "World";echo $one, $two; HelloWorld Hello World Hello World HelloWorld Hello World Hello World ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1 + ++5;echo $var1; 7 6 error no output 7 6 error no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class myObject { }define('myObject::CONSTANT', 'test');echo myObject::CONSTANT; error myObject::CONSTANT test no output error myObject::CONSTANT test no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Toyota Volvo BMW Error Toyota Volvo BMW Error ANSWER DOWNLOAD EXAMIANS APP