PHP Classes

ps stack: Manage a stack like in Postscript

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (8 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 174 All time: 7,666 This week: 1,125Up
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
Name: Asher Wolfstein <contact>
Classes: 7 packages by
Country: United States United States
Age: 32
All time rank: 1598215 in United States United States
Week rank: 1497 Up171 in United States United States Up
Innovation award
Innovation award
Nominee: 2x

  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:174All time:7,666
 This week:0This week:1,125Up