--- title: Learn About Php Array localeTitle: Saiba mais sobre o array Php --- # Matriz PHP ``` Array Can Store multiple values in single Varible. let's think that you have a list of cars like ( 'BMW', 'Honda', Swift, 'XUV' ) but you want to separate this by categories like sport car, xuv. but you need to put it in a single varible then you need two arrays ## Let's Solve this By Programming Output: Sport Cars List: BMW, Honda. XUV Cars List: Swift, XUV. ``` Note que: array é Index de 0 a n você pode acessar cada valor passando por lá número de índice para variável como segue ``` echo $sport_cars[0]; output: BMW ``` Assim você pode acessar o elemento em array