(PECL memcached >= 0.1.0)
Memcached::replace — Replace the item under an existing key
Memcached::replace() is similar to Memcached::set, but the operation fails if the key does not exist on the server.
Ключът, под който да се съхрани стойността.
Стойността за записване.
Срокът на валидност, по подразбиране е 0. Вж. Срок на валидност за повече информация.
Връща TRUE при успех или FALSE при неуспех. The Memcached::getResultCode will return Memcached::RES_NOTSTORED if the key does not exist.