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
A complete listing of the DS / Queue data structure is given below:
- PHP Ds / Queue allocate() Function
- PHP Ds / Queue capacity() Function
- PHP Ds / Queue clear() Function
- PHP Ds / Queue copy() Function
- PHP Ds / Queue count() Function
- PHP Ds / Queue isEmpty() Function
- PHP Ds / Queue peek() Function
- PHP Ds / Queue pop() Function
- PHP Ds / Queue push() function
- PHP Ds / Queue toArray() Function