Login   Register  
PHP Classes
elePHPant
Icontem

Polymorphic Queue: Implement a LIFO queue with arrays

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 417 All time: 5,798 This week: 1,476Up
Version License Categories  
queue_php 1.0GNU General Public Lice...Data types
Description Author  

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

It uses arrays to queue values of any type at the end of the queue.

The class can also pop values from the stack by the same order they were queued. It may also return the value at the head of the queue without removing it.

Picture of Carlos Blanco Domínguez
Name: Carlos Blanco Domínguez <contact>
Classes: 4 packages by
Country: Spain Spain
Age: 37
All time rank: 148231 in Spain Spain
Week rank: 1754 Down49 in Spain Spain Down

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

 Version Control Unique User Downloads Download Rankings  
 0%Total:417All time:5,798
 This week:0This week:1,476Up