List Functions
Introduction
Lists are any PHP data type that can safely be used in a foreach()
loop:
- PHP arrays
Traversable
objects (iterators, generators and the like)- PHP objects with public properties
Here's a list of what we find is missing from PHP's built-in support for lists.
By Functional Area
Functional Area | Purpose |
---|---|
List iterators | iterate over a PHP list |