1. Defining Arrays
Indexed Arrays

Associative Arrays
Associative arrays are collections of elements that are each associated with a unique key.
2. Access to Array Elements
Indexed Arrays
Indexed arrays allow access to elements by their index number.
Associative Arrays
Associative arrays allow accessing elements by their corresponding keys.
3.Using Loops in an Array
Loops can be used to access elements in arrays.
Indexed Arrays
Associative Arrays
4. Array Functions
When working with arrays, many built-in functions are available for use.
count()
This function returns the count of elements in the given array.
sort()
He arranges the sequence.
array_push()
Adds one or more elements to the array.