I'm using the Memcached::set()
and Memcached::get()
methods. The documentation states that if an error occurs, or, in general, to check the status of these methods, I should call Memcached::getResultCode()
.
Where can I find a complete list of result codes, with both what the result code represents and what its numeric values is?
The best thing I found so far is in some comments from Memcached::getResultCode()
, but the list doesn't include 8
and 47
. Another list is in the Memcached Predefined Constants page, but it doesn't include the numeric values.
php_memcached.c
extension code. Hopefully our combined efforts can save people some time down the road :) – Faina