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 Volvo Error My car is a BMW My car is a Toyota My car is a Volvo Error My car is a BMW My car is a Toyota ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "red";echo "$color1" + "$color2"; 0 redgreen 1 red green 0 redgreen 1 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"; Hello Error $one$two HelloWorld Hello Error $one$two HelloWorld ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "Hello World" Error Hello world Hello world in italics Nothing Error Hello world Hello world in italics Nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 30;$y = 20;$z = 10;echo $x + $y - $z / ($z - $y); 41 -5 -4 51 41 -5 -4 51 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;function fun(){$x = 10;echo "$x";}fun();echo "$x"; Error 510 0 105 Error 510 0 105 ANSWER DOWNLOAD EXAMIANS APP