Skip to content
Related Articles

Related Articles

PHP | Ds\Deque Functions Complete Reference
  • Last Updated : 20 Jun, 2019

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:

   

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :