PHP Operators and Expressions What will be the output of the following PHP code ?$var1 = 1;echo $var1 = ++$var1 % 2 + ++$var1; 3 1 0 2 3 1 0 2 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions In PHP the integer 45 is stored exactly as 45. The floating point number 46.3 could be stored as. 46.3 46.2999999 46 none of above 46.3 46.2999999 46 none of above ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?class Constants{define('MIN_VALUE', '0.0');define('MAX_VALUE', '1.0');public static function getMinValue() {return self::MIN_VALUE;}public static function getMaxValue() {return self::MAX_VALUE;}}echo Constants::getMinValue();echo Constants::getMaxValue(); 0.01.0 01 No output ERROR 0.01.0 01 No output ERROR 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 ?$one = 1;print($one);print $one; Error 01 10 11 Error 01 10 11 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?# echo "Hello world";echo "# Hello world"; Hello world# Hello world # Hello world Error Hello world Hello world# Hello world # Hello world Error Hello world ANSWER DOWNLOAD EXAMIANS APP