(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.
Cheia sub care se stochează valoarea.
Valoarea pentru a fi stocată.
Timpul expirării, implicit este 0. Accesați Timpurile de expirare pentru informații suplimentare.
Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului. The Memcached::getResultCode() will return Memcached::RES_NOTSTORED if the key does not exist.