PHP Classes
elePHPant
Icontem

ps stack: Manage a stack like in Postscript

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2006-11-13 (9 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 175 All time: 8,007 This week: 1,116Up
Version License Categories
ps_stack 1.0GNU General Publi...PHP 5, Data types
Description Author

This class can be used to manage a LIFO stack (Last In First Out) of values like in the Postscript language.

It implements most of the Postscript stack operations except for mark and cleartomark.

The class can push and pop values from the stack, get the value at the top of the stack or at a given position, get the count of values, exchange the position of two values, duplicate the value at the top of the stack, roll the stack values by a given number of positions.

Picture of Asher Wolfstein
  Performance   Level  
Name: Asher Wolfstein <contact>
Classes: 15 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Accessible without login Plain text file list.abstr.php Aux. Abstract List Class
Accessible without login Plain text file list.inter.php Aux. List Interface
Plain text file stack.class.php Class Main Class
Plain text file stack.class5.php Class Main Class - PHP5.x

 Version Control Unique User Downloads Download Rankings  
 0%
Total:175
This week:0
All time:8,007
This week:1,116Up