PHP | Ds\Deque Functions Complete Reference
A dequeue data structure is used to store the sequence of values in a contiguous memory buffer which grows and shrinks automatically. The dequeue is the abbreviation of “double-ended queue”.
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 Ds\Deque functions are given below:
- PHP | Ds\Deque allocate() Function
- PHP | Ds\Deque apply() Function
- PHP | Ds\Deque capacity() Function
- PHP | Ds\Deque clear() Function
- PHP | Ds\Deque __construct() Function
- PHP | Ds\Deque copy() Function
- PHP | Ds\Deque count() Function
- PHP | Ds\Deque filter() Function
- PHP | Ds\Deque find() Function
- PHP | Ds\Deque first() Function
- PHP | Ds\Deque get() Function
- PHP | Ds\Deque insert() Function
- PHP | Ds\Deque isEmpty() Function
- PHP | Ds\Deque join() Function
- PHP | Ds\Deque last() Function
- PHP | Ds\Deque map() Function
- PHP | Ds\Deque merge() Function
- PHP | Ds\Deque pop() Function
- PHP | Ds\Deque push() Function
- PHP | Ds\Deque remove() Function
- PHP | Ds\Deque reverse() Function
- PHP | Ds\Deque reversed() Function
- PHP | Ds\Deque rotate() Function
- PHP | Ds\Deque set() Function
- PHP | Ds\Deque shift() Function
- PHP | Ds\Deque slice() Function
- PHP | Ds\Deque sort() Function
- PHP | Ds\Deque sorted() Function
- PHP | Ds\Deque sum() Function
- PHP | Ds\Deque toArray() Function
- PHP | Ds\Deque unshift() Function