PHP Classes

File: main.php

Recommend this page to a friend!
  Classes of Chi H.   kart-trie   main.php   Download  
File: main.php
Role: Example script
Content type: text/plain
Description: Example
Class: kart-trie
Manage and search associative array with Kart tree
Author: By
Last change: changed description.
Date: 13 years ago
Size: 687 bytes


Class file image Download
* Copyright notice
* (c) 2010 Chi Hoang (
* All rights reserved


$pat = new PatriciaTrieC();
//~ $pat->Insert ("FISCH");
//~ $pat->Insert ("ANTEE");
//~ $pat->Insert ("TEARE");
//~ $pat->Insert ("Mario Circuit");

$pat->Insert ("Mario Circuit");
$pat->Insert ("Mario Circuit Builder");
$pat->Insert ("Marioc");


$pat->Search("Mario Circuit");
//~ $pat->remove("FISCH");
//~ $pat->Search("FISCH");