SPHPlayground manual

The Arrays class for PHP's array manipulation

PHP's array type can be treated as an array, list (vector), hash table (an implementation of a map), dictionary, collection, stack, queue, and much more. As values can be other arrays, trees and multidimensional arrays are also possible.

Arrays is a static utility class extending array related operations in PHP core and it introduces methods for: