Q. What will be the output of the following PHP code ?
Code:
<?php
$cars = array("Volvo", "BMW", "Toyota");
echo "My car is a {$cars[0]}";
?>
β
Correct Answer: (A)
My car is a Volvo