PHP » GoLang |
login |
register |
about
|
GoLang Memcached::getDelayed
request it (625)
GoLang replacement for PHP's Memcached::getDelayed
[edit | history]
Memcached::getDelayed(PECL memcached >= 0.1.0) Memcached::getDelayed — Request multiple items Description
Memcached::getDelayed() issues a request to memcache for
multiple items the keys of which are specified in the
Instead of fetching the results explicitly, you can specify a result callback via
Parameters
Return Values
Returns Examples
Example #1 Memcached::getDelayed() example
<?phpThe above example will output:
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)
}
}
See Also
|
more
Most requested
more
Last requests
|