Memcached::getMultiByKey

Retrieve multiple items from a specific server

&reftitle.description; public ``array``false```Memcached::getMultiByKey` `string` `server_key` `array` `keys` `int` `get_flags` 0

`Memcached::getMultiByKey` is functionally equivalent to `Memcached::getMulti`, except that the free-form `server_key` can be used to map the `keys` to a specific server.

&reftitle.parameters;

`server_key`

- &memcached.parameter.server_key;

`keys`

- Array of keys to retrieve.

`get_flags`

- The flags for the get operation.

&reftitle.returnvalues;

Returns the array of found items&return.falseforfailure;. &memcached.result.getresultcode;

&reftitle.changelog;

&Version; | &Description;
PECL memcached 3.0.0 | The `cas_tokens` parameter was removed. The `Memcached::GET_EXTENDED` was added and when passed as a flag it ensures the CAS tokens to be fetched.

&reftitle.seealso;

- `Memcached::getMulti`
- `Memcached::get`
- `Memcached::getDelayed`