PHP Classes

Stack: A stack (LIFO) data structure.

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,377 All time: 2,824 This week: 560Up
Version License Categories
stack 1.0GNU General Publi...Data types
Description 

Author

The Stack class advantage over the array_push and array_pop function is Stack::pop() pops the stack and returns a reference to the popped element. There is also a top function that returns a reference to the top element.

Picture of Brian Takita
Name: Brian Takita <contact>
Classes: 3 packages by
Country: United States United States
Age: 45
All time rank: 59680 in United States United States
Week rank: 180 Up22 in United States United States Up

  Files folder image Files (1)  
File Role Description
Plain text file Stack.class.php Class The Stack Class

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,377
This week:0
All time:2,824
This week:560Up