PHP Arrays Tricks and Tips
Here is my list of tips, tricks and short articles for doing related tasks in PHP.
- An overview of every main PHP array function
- How to convert a string to an array of it's characters in PHP?
- How to Extract Query String (from a URL) Into an Associative Array in PHP
- How to find the 2nd most common item in an array?
- How to find the intersection (same values) from two arrays?
- How to pick what array_intersect function to use in PHP?
- How to sort an array of dates and times?
- What are generators in PHP, and how do they compare to arrays?
PHP Arrays Cheatsheet (all on one page)