Requirements:PHP 7 is required for both extension and polyfill compatibility.
Installation:The easiest way to set the data structure is with PECL extensions.
pecl install ds
The complete list of DS / Set data structures is given below:
- PHP | Ds / Set add() function
- PHP | Ds / Set allocate() function
- PHP | Ds / Set Capacity() Function
- PHP | Ds / Set clear() function
- PHP | Ds / Set __construct() function
- PHP | The Ds / Set function contains()
- PHP | Ds / Set copy() function
- PHP Ds / Set count() Function
- PHP | Ds / Set diff() function
- PHP | Ds / Set filter() function
- PHP | Ds / Set first() function
- PHP Ds / Set get() Function
- PHP | Ds / Set intersect() function
- PHP Ds / Set isEmpty() Function
- PHP | Ds / Set join() function
- PHP | Ds / Set last() function
- PHP | Ds / Set merge() function
- PHP | Ds / Set redu() function
- PHP Ds / Set remove() Function
- PHP Ds / Set reverse() Function
- PHP Ds / Set reversed() Function
- PHP | Ds / Set slice() function
- PHP Ds / Set sort() Function
- PHP | Ds / Set sorted() function
- PHP Ds / Set sum() Function
- PHP Ds / Set toArray() Function
- PHP | Ds / Set union() function
- PHP | Ds / Set xor() function