PHP Operators and Expressions What will be the output of the following PHP code ?$a = '12345';print "qwe{$a}rty"; qwe{$a}rty error qwe12345rty no output qwe{$a}rty error qwe12345rty no output 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 valueNEW_GOO_NAME_CONSTANTS ERROR I have a value I have a valueI have a value I have a valueNEW_GOO_NAME_CONSTANTS ERROR I have a value 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]; Error Volvo BMW Toyota Error Volvo BMW Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("GREETING", "PHP is a scripting language");echo $GREETING; $GREETING GREETING PHP is a scripting language no output $GREETING GREETING PHP is a scripting language no output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Bye Hello World Error Hello worldBye Bye Hello World Error Hello worldBye ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 1;$y = 2;if (++$x == $y++) {echo "true ", $y, $x;} true 22 true 33 no output true 23 true 22 true 33 no output true 23 ANSWER DOWNLOAD EXAMIANS APP