Why not just `$cacheKeys[] = $key;`? Then we could remove the array_keys few lines below.