PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 3;print $var = ++$var; 3 1 0 2 3 1 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?define("VAR_NAME","test");${VAR_NAME} = "value";echo VAR_NAME;echo ${VAR_NAME}; testtest error, constant value cannot be changed test testvalue testtest error, constant value cannot be changed test testvalue 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 Error My car is a BMW My car is a Volvo My car is a Toyota Error My car is a BMW ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$i = 10;$j = 0;if ($i || ($j = $i + 10)) {echo "true";}echo $j; 20 true20 true0 0 20 true20 true0 0 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$hello = "Hello World";$bye = "Bye";echo $hello;"$bye"; Error Hello worldBye Hello World Bye Error Hello worldBye Hello World Bye ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions Numbers in PHP can’t be infinitely large or small, there is some minimum and maximum size. If more larger (or smaller) numbers are needed then . . . . . must be used:1. GPM libraries2. GMP libraries3. CBMath4. BCMath Option 2 and 4 Option 2 and 3 Option 1 and 4 Option 3 and 4 Option 2 and 4 Option 2 and 3 Option 1 and 4 Option 3 and 4 ANSWER DOWNLOAD EXAMIANS APP