public Memory get(Object key) {
        int hashCode = hash((key == null) ? NULL : key);
        ArrayMapEntryMemory entry = data[hashIndex(hashCode, data.length)]; // no local for hash index
        while (entry != null) {
            if (entry.hashCode == hashCode && isEqualKey(key, entry.getKey())) {
                return entry.getValue();
            }
            entry = entry.next;
        }
        return null;
    }
Gets the value mapped to the key specified.

@param key the key
@return the mapped value, null if no match
jphp-runtime/src/php/runtime/memory/support/ArrayMemoryMap.java