a simple lru cache in php