PHP Classes

Polymorphic Queue: Implement a LIFO queue with arrays

Recommend this page to a friend!
  Info   Screenshots   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: 423 All time: 6,376 This week: 560Up
Version License Categories
queue_php 1.0GNU General Publi...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

 

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

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:423
This week:0
All time:6,376
This week:560Up