An array in PHP is a single variable that can hold multiple values. Instead of creating multiple variables, we use an array to store and organize related data.
PHP supports three types of arrays:
✔ Elements are stored with numeric keys (starting from 0).
Example:
$fruits = ["Apple", "Banana", "Cherry"];
echo $fruits[0]; // Output: Apple