Memcached::fetchAll(PECL memcached >= 0.1.0) Memcached::fetchAll — Fetch all the remaining results Описание
public array Memcached::fetchAll
( void
)
Memcached::fetchAll() retrieves all the remaining results from the last request. Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the results или FALSE в случае возникновения ошибки. Используйте при необходимости Memcached::getResultCode(). Примеры
Пример #1 Memcached::getDelayed() example
<?phpРезультат выполнения данного примера:
array(2) {
[0]=>
array(3) {
["key"]=>
string(3) "int"
["value"]=>
int(99)
["cas"]=>
float(2363)
}
[1]=>
array(3) {
["key"]=>
string(5) "array"
["value"]=>
array(2) {
[0]=>
int(11)
[1]=>
int(12)
}
["cas"]=>
float(2365)
}
}
Смотрите также
|
||