W3cubDocs

/PHP

Yac::get

(PECL yac >= 1.0.0)

Yac::getRetrieve values from cache

Description

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

Retrieve values from cache

Parameters

key

string keys, or array of multiple keys.

cas

if not null, it will be set to the retrieved item's cas.

Return Values

mixed on success, false on failure

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yac.get.php