+

PHP DS / Vector Function Reference

This is an efficient data structure in PHP 7 that provides an alternative to an array.Requirements:PHP 7 is required for both extensibility and polyfill compatibility.Installation:The easiest way to install the data structure using the PECL extension.
pecl install ds 
The complete list of the DS / Vector data structure is given below:
  • PHP | Ds / Vector allocate() function
  • PHP | Ds / Vector apply() function
  • PHP | Ds / Vector() function
  • PHP | Ds / Vector clear() function
  • PHP | Ds / Vector __construct() function
  • PHP | Ds / Vector function contains()
  • 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
Get Solution for free from DataCamp guru