🐘 PHP Arrays
Arrays are like containers that hold multiple values in a single variable. Super useful for lists, collections, and bulk data.
📝 Example: Indexed Array
Output will appear here...
📖 Key Array Types
- Indexed arrays — values with numeric keys (starting from 0).
- Associative arrays — values with named keys.
- Multidimensional arrays — arrays inside arrays (think spreadsheets).
💡 Tip: You can loop through arrays with a foreach
loop for quick and clean access to every item.