Php/docs/yac.get

来自菜鸟教程
跳转至:导航、​搜索

Yac::get

(PECL yac >= 1.0.0)

Yac::getRetrieve values from cache


说明

public Yac::get ( string|array $key [, int &$cas = null ] ) : mixed

Retrieve values from cache


参数

key
string keys, or array of multiple keys.
cas
if not null, it will be set to the retrieved item's cas.


返回值

mixed on success, false on failure