PHP Memcached扩展结果代码 [英] PHP Memcached extension result codes
问题描述
我正在使用 Memcached::set()
和 Memcached::getResultCode()
.
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?
到目前为止,我发现最好的是来自 Memcached::getResultCode()
,但列表不包含8
和47
.另一个列表位于 Memcached预定义常量页面中,但其中不包括数值.
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扩展结果代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!