Nguyễn Tâm Hảo
New member
What will be the output of the following PHP code?
A. Volvo
B. BMW
C. Toyota
D. Error
Code:
<?php
$cars = array("Volvo", "BMW", "Toyota");
print $cars[2];
?>
B. BMW
C. Toyota
D. Error