| 
<?php//Require class file
 require "simplearray.class.php";
 
 $s = new SimpleArray;
 
 //Load an existing array
 $exArray = array("The", "is", "a", "quick", "example", "of", "loading", "an", "array");
 $s->addArray($exArray);
 
 //Manually add values
 $s->add("you");
 $s->add("can");
 $s->add("also");
 $s->add("Manually");
 $s->add("add");
 $s->add("values");
 
 /*
 Add array value to certain key
 $s->addI(key, value);
 
 Set array values by key
 $s->set(key, value);
 
 Change certain array values
 $s->change(value);
 
 Remove array value by key
 $s->remove(key);
 
 Remove certain array values
 $s->removeV(value);
 
 Get size of the array
 $s->size();
 
 Get array value from key
 $s->get(key);
 
 Get an array with all keys that match a certain value
 $s->getV(value);
 
 Clear an array
 $s->clear();
 */
 
 //Get the final array
 $finalArray = $s->arr();
 
 echo "<pre>";
 print_r($finalArray);
 
 ?>
 |