PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;$z = "$x + $y";echo "$z"; 10 + 5 $x + $y 15 $z 10 + 5 $x + $y 15 $z 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]}"; Error My car is a Toyota My car is a Volvo My car is a BMW Error My car is a Toyota My car is a Volvo My car is a BMW ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$y = 2;if (**$y == 4) {echo $y;} no output 4 error at line2 2 no output 4 error at line2 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; none of above 2 5.67 5.666667 none of above 2 5.67 5.666667 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"; 15 1 8 $z 15 1 8 $z ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "1";$color2 = "1";echo "$color1" + "$color2"; 11 2 1 0 11 2 1 0 ANSWER DOWNLOAD EXAMIANS APP