|
update : 2015.11.03
php.shukuma.com검색:
|
Memcached::getMulti(PECL memcached >= 0.1.0) Memcached::getMulti — Retrieve multiple items 설명
Memcached::getMulti() is similar to
Memcached::get(), but instead of a single key
item, it retrieves multiple items the keys of which are specified in the
The 인수
반환값
Returns the array of found items실패 시 예제
Example #1 Memcached::getMulti() example
<?php위 예제의 출력 예시:
array(2) {
["key1"]=>
string(6) "value1"
["key3"]=>
string(6) "value3"
}
array(2) {
["key1"]=>
float(2360)
["key3"]=>
float(2362)
}
Example #2
<?php위 예제의 출력 예시: foo foo-data bar bar-data baz baz-data lol lol-data kek kek-data zoo 참고
|