(PECL memcached >= 0.1.0)
Memcached::replaceByKey — Replace the item under an existing key on a specific server
Memcached::replaceByKey() is functionally equivalent to Memcached::replace, except that the free-form server_key can be used to map the key to a specific server. This is useful if you need to keep a bunch of related keys on a certain server.
Ключът, идентифициращ сървъра, на който да се съхранява стойността.
Ключът, под който да се съхрани стойността.
Стойността за записване.
Срокът на валидност, по подразбиране е 0. Вж. Срок на валидност за повече информация.
Връща TRUE при успех или FALSE при неуспех. The Memcached::getResultCode will return Memcached::RES_NOTSTORED if the key does not exist.