Login   Register  
PHP Classes
elePHPant
Icontem

File: index.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of ashwin suresh morey  >  Simple Stack  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: simple usage file
Class: Simple Stack
Manipulate and show values in stack
Author: By
Last change:
Date: 2010-04-22 23:46
Size: 198 bytes
 

Contents

Class file image Download
<?php
    
require_once("stack.php");

    
$objStack = new Stack();
    
$objStack->push("ashy");
    
$objStack->push("test");
    
$objStack->push("test1");

    
$objStack->pop();    

    
$objStack->dispCon();
?>