PHP Operators and Expressions What will be the output of the following PHP code ?define('IF', 42);echo "IF: ", IF; ERROR IF: IF:42 No output ERROR IF: IF:42 No output ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 0;$x = $i++;$y = ++$i;print $x;print $y; 21 12 01 02 21 12 01 02 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; true0 true20 20 0 true0 true20 20 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Nothing Hello world Hello world in italics Error Nothing Hello world Hello world in italics Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$a = 'a';print $a * 2; 192 0 2 error 192 0 2 error 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