hashtable implemented in php using only arrays.