SPHPlayground API
SPHPlayground
sphplayground sphplayground

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.[1]

Arrays is an utility class. It contains static methods that extend native array related operations in PHP.

Arrays has methods for:

Synopsis

final class Arrays