PHP Classes

Stack 2: Manipulate stacks using two dimensional arrays

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

Author

This class provides API to manipulate a stack using two dimensional arrays.

It provides functions for:

- Push an element
- Pop an element
- Retrieve the element at the top of the stack without removing it
- Retrieve the size of the stack
- Determine whether the stack is empty

Picture of Carey R. Dayrit
Name: Carey R. Dayrit <contact>
Classes: 1 package by
Country: Philippines Philippines
Age: ???
All time rank: 374632 in Philippines Philippines
Week rank: 441 Up8 in Philippines Philippines Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file sample.php Example Sample Code in using the class
Plain text file stack2.class.php Class Stack for 2 dimensional array

 Version Control Unique User Downloads Download Rankings  
 0%
Total:326
This week:0
All time:7,164
This week:794Up