php index array

Solutions on MaxInterview for php index array by the best coders in the world

showing results for - "php index array"
Gael
12 Oct 2019
1<?php
2$cars = array("Volvo", "BMW", "Toyota"); 
3echo "I like " . $cars[0] . ", " . $cars[1] . " and " . $cars[2] . ".";
4?>