PHP Operators and Expressions What will be the output of the following PHP code ?$cars = array("Volvo", "BMW", "Toyota");print $cars[2]; Toyota Volvo BMW Error Toyota Volvo BMW Error ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?$x = 5;{echo "$x";} Error Nothing 0 5 Error Nothing 0 5 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(); 01 0.01.0 No output ERROR 01 0.01.0 No output ERROR ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?< ? php < ? php echo "Hello world"; ? > ? > Error Hello world Nothing Hello Error Hello world Nothing Hello ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions What will be the output of the following PHP code ?var $one = 1;var $two = 2;echo $one / $two * $one / $two * $two; Error 0.5 0 1 Error 0.5 0 1 ANSWER DOWNLOAD EXAMIANS APP
PHP Operators and Expressions PHP can automatically convert integers to floating point numbers and floating point numbers to integers. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP