This is an efficient data structure in PHP 7 that provides an alternative to an array.
Requirements:PHP 7 is required for both extensibility and polyfill compatibility.
Installation:The easiest way to install the data structure using the PECL extension.
pecl install ds
The complete list of the DS / Map data structure is given below:
- PHP | Ds / Map allocate() function
- PHP | Ds / Map apply() function
- PHP | Ds / Capacity Map() Function
- PHP | DS / Map clear() function
- PHP | Ds / Map function __construct()
- PHP Ds / Map copy() Function
- PHP | Ds / Map count() function
- PHP | Ds / Map diff() function
- PHP | Ds / Map filter() function
- PHP Ds / Map first() Function
- PHP | Ds / Map get() function
- PHP | Ds / Map hasKey() function
- PHP | Ds / Map hasValue() function
- PHP | Ds / Map intersect() function
- PHP | Ds / Map isEmpty() function
- PHP | Ds / Map keys() function
- PHP | Ds / Map::ksort() function
- PHP | Ds / Map ksorted() function
- PHP | Ds / Map last() function
- PHP | Ds / Map map() function
- PHP | Ds / Map merge() function
- PHP Ds / Map pair() Function
- PHP | Ds / Map put() function
- PHP | Ds / Map putAll() function
- PHP | Ds / Map lower() function
- PHP | Ds / Map reverse() function
- PHP | Ds / Map reversed() function
- PHP | Ds / Map skip() function
- PHP Ds / Map slice() Function
- PHP | Ds / Map sort() function
- PHP | Ds / Map sorted() function
- PHP Ds / Map sum() Function
- PHP Ds / Map toArray() function
- PHP | Ds / Map union() function
- PHP | Ds / Map values () function
- PHP | Ds / Map xor() function