PHP Ds / Stack Function Reference

PHP

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 
The complete list of DS / Stack data structures is below:
  • PHP | Ds / Stack clear() function
  • PHP | Ds / Stack copy() function
  • PHP | Ds / Stack isEmpty() function
  • PHP | Ds / Stack peek() function
  • PHP | Ds / Stack pop() function
  • PHP | Ds / Stack push() function
  • PHP | Ds / Stack toArray() Function




Tutorials