...

/

Arrays

Arrays

Arrays are data structures used to store multiple number of values. As we have seen previously that variables store only a single value. Thus arrays helps in storing multiple values at different indices.

There are two type of arrays in PHP.

1. Index Array

2. Associative Array

Access this course and 1400+ top-rated courses and projects.