You have already completed these exercises!
Do you want to take them again?
You completed the PHP Access Arrays Exercises from W3Schools.com
Share on:
For the following array:$fruits = array('Apple', 'Banana', 'Orange');What will be a correct syntax to access the second item ('Banana')?
$fruits = array('Apple', 'Banana', 'Orange');
$x = $fruits['Banana'];
$x = $fruits[1];
$x = $fruits[2];