PHP | Ds\Set Functions Complete Reference
Set is the collection of unique values. The implementation of Ds\Set is similar to the Ds\Map which creates a hash table. The values of Ds\Set are used as key and the mapped values are ignored.
Requirements: PHP 7 is required for both extension and the compatibility polyfill.
Installation: The easiest way to install data structure by using the PECL extension.
pecl install ds
The complete list of data structure DS\Set are 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 | Ds\Set contains() Function
- 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 reduce() 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
Recommended Posts:
- PHP | Ds\Map Functions Complete Reference
- CSS | Functions Complete Reference
- PHP | GMP Functions Complete Reference
- PHP | Imagick Functions Complete Reference
- PHP | Math Functions Complete Reference
- PHP | Filesystem Functions Complete Reference
- PHP | Ds\Queue Functions Complete Reference
- PHP | String Functions Complete Reference
- PHP | Gmagick Functions Complete Reference
- PHP | Ds\Stack Functions Complete Reference
- PHP | Ds\PriorityQueue Functions Complete Reference
- PHP | DS\Vector Functions Complete Reference
- PHP | IntlChar Functions Complete Reference
- PHP | ImagickDraw Functions Complete Reference
- PHP | DS\Sequence Functions Complete Reference
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




