PHP » GoLang |
login |
register |
about
|
GoLang Memcached::fetch
request it (680)
GoLang replacement for PHP's Memcached::fetch
[edit | history]
Memcached::fetch(PECL memcached >= 0.1.0) Memcached::fetch — Fetch the next result Description
public array Memcached::fetch
( void
)
Memcached::fetch() retrieves the next result from the last request. ParametersThis function has no parameters. Return Values
Returns the next result or Examples
Example #1 Memcached::fetch() example
<?phpThe above example will output something similar to:
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)
}
See Also
|
more
Most requested
more
Last requests
|