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