Memcached::appendByKey
PHP function
Edit on GitHub ✎
(PECL memcached >= 0.1.0)
Append data to an existing item on a specific server
Description
Memcached::appendByKey(string $server_key, string $key, string $value): bool|null
Memcached::appendByKey() is functionally equivalent to Memcached::append, except that the free-form server_key can be used to map the key to a specific server.
Parameters
server_keyServer_key
keyKey
valueThe string to append.
Return Values
Success Returns null when compression is on.
Errors/Exceptions
Returns null and raises an E_WARNING when compression is enabled.
See Also
Memcached::appendMemcached::prepend