PHP Classes
elePHPant
Icontem

Polymorphic Stack: Implement a LIFO stack with arrays

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-06-09 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 270 All time: 7,213 This week: 1,120Up
Version License Categories
stack_php 1.0GNU General Publi...Data types
Description Author

This is a simple class that implements a LIFO stack (Last In First Out) of values.

It uses arrays to push values of any type on the top of the stack.

The class can also pop values from the stack by the reverse order they were pushed. It may also return the value at the top of the stack without removing it.

Picture of Carlos Blanco Domínguez
Name: Carlos Blanco Domínguez <contact>
Classes: 4 packages by
Country: Spain Spain
Age: 39
All time rank: 153233 in Spain Spain
Week rank: 747 Up22 in Spain Spain Up

Screenshots  
  • capture.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example file
Plain text file stack.php Class The stack class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:270
This week:0
All time:7,213
This week:1,120Up