PHP Classes

Stack 2: Manipulate stacks using two dimensional arrays

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: 327 All time: 7,175 This week: 560Up
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

  Files folder image Files (2)  
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

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:327
This week:0
All time:7,175
This week:560Up