PHP | DS\Vector Functions Complete Reference
A Vector Data Structure is used to store the sequence of values in a contiguous memory buffer which grows and shrinks automatically. The vector data structure mapped the index value to its index buffer and the growth factor isn’t bound to a specific multiple or exponent.
It is the efficient Data Structure in PHP 7 to provide the alternative of an array.
Requirements: PHP 7 is required for both extension and the compatibility polyfill.
Installation: The easiest way to install data structure by using PECL extension.
pecl install ds
The complete list of data structure DS\Vector are given below:
- PHP | Ds\Vector allocate() Function
- PHP | Ds\Vector apply() Function
- PHP | Ds\Vector capacity() Function
- PHP | Ds\Vector clear() Function
- PHP | Ds\Vector __construct() Function
- PHP | Ds\Vector contains() Function
- PHP | Ds\Vector copy() Function
- PHP | Ds\Vector count() Function
- PHP | Ds\Vector filter() Function
- PHP | Ds\Vector find() Function
- PHP | Ds\Vector first() Function
- PHP | Ds\Vector get() Function
- PHP | Ds\Vector insert() Function
- PHP | Ds\Vector isEmpty() Function
- PHP | Ds\Vector join() Function
- PHP | Ds\Vector jsonSerialize() Function
- PHP | Ds\Vector last() Function
- PHP | Ds\Vector map() Function
- PHP | Ds\Vector merge() Function
- PHP | Ds\Vector pop() Function
- PHP | Ds\Vector push() Function
- PHP | Ds\Vector reduce() Function
- PHP | Ds\Vector remove() Function
- PHP | Ds\Vector reverse() Function
- PHP | Ds\Vector rotate() Function
- PHP | Ds\Vector set() Function
- PHP | Ds\Vector shift() Function
- PHP | Ds\Vector slice() Function
- PHP | Ds\Vector sort() Function
- PHP | Ds\Vector sorted() Function
- PHP | Ds\Vector sum() Function
- PHP | Ds\Vector toArray() Function
- PHP | Ds\Vector unshift() Function
Recommended Posts:
- PHP | GMP Functions Complete Reference
- PHP | Ds\Set Functions Complete Reference
- CSS | Functions Complete Reference
- PHP | Ds\Map Functions Complete Reference
- PHP | Gmagick Functions Complete Reference
- PHP | IntlChar Functions Complete Reference
- PHP | ImagickDraw Functions Complete Reference
- PHP | Ds\Stack Functions Complete Reference
- PHP | Ds\Queue Functions Complete Reference
- PHP | Ds\PriorityQueue Functions Complete Reference
- PHP | array Functions Complete Reference
- PHP | DS\Sequence Functions Complete Reference
- PHP | Math Functions Complete Reference
- PHP | Filesystem Functions Complete Reference
- PHP | Calendar 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.



