Memcached::get

Memcached::get

(PECL memcached >= 0.1.0)

Memcached::getRetrieve an item

Description

public mixed Memcached::get ( string $key [, callable $cache_cb [, float &$cas_token ]] )

Memcached::get() returns the item that was previously stored under the key. If the item is found and cas_token variable is provided, it will contain the CAS token value for the item. See Memcached::cas() for how to use CAS tokens. 登录查看完整内容