A beginner-friendly PHP project showcasing how to use indexed and associative arrays. Perfect for learners exploring data manipulation and output in PHP.
- Working with indexed arrays (
array()
) - Adding and updating elements
- Removing items with
unset()
- Counting array length with
count()
- Associative arrays with string keys
- Accessing values by key and index
- Clean
echo
output for clarity
arrays-demo.php
: All examples grouped in one PHP file
Make sure PHP is installed locally. Then run:
php arrays-demo.php
## Author
Created by Waleed β exploring PHP fundamentals and preparing for future repo-worthy content π