Some caches (such as memcache, apc) allow retrieving multiple cached values at the same time,
which may improve the performance. In case a cache does not support this feature natively,
this method will try to simulate it.
public mget ( string[] $keys ) : array | ||
$keys | string[] | list of string keys identifying the cached values |
Résultat | array | list of cached values corresponding to the specified keys. The array is returned in terms of (key, value) pairs. If a value is not cached or expired, the corresponding array value will be false. |