PHP Classes

Stack: A stack (LIFO) data structure.

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,376 All time: 2,821 This week: 839Up
Version License Categories
stack 1.0GNU General Publi...Data types


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: 44
All time rank: 59579 in United States United States
Week rank: 569 Up67 in United States United States Up

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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:2,821
This week:839Up