PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of Olavo Alexandrino   Dictionary   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test Class
Class: Dictionary
Access arrays with the IDictionary interface
Author: By
Last change:
Date: 18 years ago
Size: 308 bytes
 

Contents

Class file image Download
<?php require_once ("Dictionary.php"); ?>
<?php
 
/**
 * @author oalpb
 * @date 06/03/2006 - 16:41:53
 **/
 
 
 
$objDictionary = new Dictionary();
 
 
$objDictionary->add("carro1","GOL");
 
$objDictionary->add("carro2","PALIO");
 
 
 
 
 
print_r( $objDictionary->items() );
 
 
?>