PHP Operators and Expressions What will be the output of the following PHP code ?print_r "Hello world" Nothing Hello World Missing semicolon error Error Nothing Hello World Missing semicolon error Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$auth = 1;$status = 1;if ($result = (($auth == 1) && ($status != 0))) {print "result is $result";} error no output result is true result is 1 error no output result is true result is 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;$y = 10;function fun() {$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 ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Error Volvo Toyota BMW Error Volvo Toyota BMW ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 3, 4, 5, 6;echo "$x"; 3 6 Error 4 3 6 Error 4 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 Volvo My car is a Toyota My car is a BMW Error My car is a Volvo My car is a Toyota My car is a BMW Error ANSWER DOWNLOAD EXAMIANS APP