|
Memcached::getMultiRetrieve multiple items Description
public mixed Memcached::getMulti
( array
$keys
[, array &$cas_tokens
[, int $flags
]] )
Memcached::getMulti is similar to
Memcached::get, but instead of a single key
item, it retrieves multiple items the keys of which are specified in the
The Parameters
Return Values
Returns the array of found items or Examples
Example #1 Memcached::getMulti example
<?php The above example will output something similar to: array(2) { ["key1"]=> string(6) "value1" ["key3"]=> string(6) "value3" } array(2) { ["key1"]=> float(2360) ["key3"]=> float(2362) }
Example #2
<?php The above example will output something similar to: foo foo-data bar bar-data baz baz-data lol lol-data kek kek-data zoo See Also
|