PHP » GoLang |
login |
register |
about
|
GoLang Memcached::increment
request it (393)
GoLang replacement for PHP's Memcached::increment
[edit | history]
Memcached::increment(PECL memcached >= 0.1.0) Memcached::increment — Increment numeric item's value Description
public int Memcached::increment
( string
$key
[, int $offset = 1
[, int $initial_value = 0
[, int $expiry = 0
]]] )
Memcached::increment() increments a numeric item's value
by the specified Parameters
Return Values
Returns new item's value on success or Examples
Example #1 Memcached::increment() example
<?php The above example will output: int(11) bool(false) See Also
|
more
Recently updated
more
Most requested
more
Last requests
|