PHP Operators and Expressions What will be the output of the following PHP code ?$color1 = "red";$color2 = "green";echo "$color1" . "$color2"; green red redgreen red green green red redgreen red green 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
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$GLOBALS['y'] = $GLOBALS['x'] + $GLOBALS['y'];}fun();echo $y; Error 10 15 5 Error 10 15 5 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 23 no output true 22 true 33 true 23 no output true 22 true 33 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP can automatically convert integers to floating point numbers and floating point numbers to integers. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What is the output of given statement?Print 17 % 3; 5.67 none of above 5.666667 2 5.67 none of above 5.666667 2 ANSWER DOWNLOAD EXAMIANS APP