PHP Classes

File: index.php

Recommend this page to a friend!
  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: 13 years ago
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();
?>