Memcached::prependByKey
(PECL memcached >= 0.1.0)
Prepend data to an existing item on a specific server
Description
Memcached::prependByKey() is functionally equivalent to Memcached::prepend, except that the free-form server_key can be used to map the key to a specific server.
Parameters
server_keyServer_key
keyThe key of the item to prepend the data to.
valueThe string to prepend.
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::prependMemcached::append