PHP Operators and Expressions What will be the output of the following PHP code ? Hello World Error Nothing Missing semicolon error Hello World Error Nothing Missing semicolon error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; IF:42 No output IF: ERROR IF:42 No output IF: ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 4;$y = 3$z = 1;$z = $z + $x + $y;echo "$z"; 1 $z 8 15 1 $z 8 15 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; ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a value I have a valueI have a value ERROR I have a valueNEW_GOO_NAME_CONSTANTS I have a value 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 ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; true20 0 true0 20 true20 0 true0 20 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");echo "My car is a {$cars[0]}"; My car is a Toyota Error My car is a Volvo My car is a BMW My car is a Toyota Error My car is a Volvo My car is a BMW ANSWER DOWNLOAD EXAMIANS APP