PHP Operators and Expressions What will be the output of the following PHP code ?$a = 12;--$a;echo $a++; 12 10 error 11 12 10 error 11 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"; 510 105 Error 0 510 105 Error 0 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
PHP Operators and Expressions What will be the output of the following PHP code ?$color = red;echo "$color" . red ; error red red red nothing error red red red nothing ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1;echo $var1 = ++$var1 % 2 + ++$var1; 1 0 3 2 1 0 3 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?echo "echo "Hello World""; echo “Hello world” Hello world Error echo Hello world echo “Hello world” Hello world Error echo Hello world ANSWER DOWNLOAD EXAMIANS APP