| 
<?php
 require_once "MagicArray.php";
 
 $array = new MagicArray(); // now you can work with this object as an array
 
 $array[] = 'test';
 $array['Test'] = 'hello world';
 
 echo "count : " . count($array) . "<br/>"; // 2
 
 reset($array); // 'test'
 next($array); // 1
 
 echo "Current : " . current($array) . "<br/>";
 
 echo "array[test] : " . $array['test'] . "<br/>"; // index is case in-sensitive
 
 $array->remove('hello world'); // easier to remove value
 
 print_r($array);
 
 ?>
 |