PHP Classes

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Classes of Martin Alterisio  >  Generic Array  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Generic Array
Create arrays that allow members of just one type
Author: By
Last change: Access without login.
Date: 8 years ago
Size: 247 bytes


Class file image Download
 * @ignore

 * @ignore

require_once 'genericarray.lib.php';

 * @ignore
class Foo {

$array = new ArrayOfFoo();
$array[] = new Foo();
// this will fail: is not a Foo object.
$array[] = 12;