Memcached::fetch(PECL memcached >= 0.1.0) Memcached::fetch — Fetch the next result Описание
public array Memcached::fetch
( void
)
Memcached::fetch() retrieves the next result from the last request. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the next result or FALSE otherwise. The Memcached::getResultCode() will return Memcached::RES_END if result set is exhausted. Примеры
Пример #1 Memcached::fetch() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
array(3) {
["key"]=>
string(3) "int"
"value"]=>
int(99)
["cas"]=>
float(2363)
}
array(3) {
["key"]=>
string(5) "array"
["value"]=>
array(2) {
[0]=>
int(11)
[1]=>
int(12)
}
["cas"]=>
float(2365)
}
Смотрите также
|
||