Q. What will be the output of the following PHP code ?
Code:
<?php
$cars = array("Volvo", "BMW", "Toyota");
print $cars[2];
?>
β
Correct Answer: (C)
Toyota
<?php
$cars = array("Volvo", "BMW", "Toyota");
print $cars[2];
?>
You must be Logged in to update hint/solution