php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64901 libmemcached return value constants are out of date
Submitted: 2013-05-22 17:36 UTC Modified: 2021-06-09 11:53 UTC
From: audvare at gmail dot com Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 - 18 = ?
Subscribe to this entry?

 
 [2013-05-22 17:36 UTC] audvare at gmail dot com
Description:
------------
This page says only RES_* constants will be returned while this does not seem to 
be the case.

The first comment on the page shows some of the possible return values.

We are also getting an unknown constant with value integer 47 returned in some 
cases.

            case 3: //Not part of memcached, connection error
            case 47: // Server temporarily disabled?

Expected result:
----------------
The documentation should be more explicit in explaining return code values.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-06-05 11:27 UTC] cwhite at remarinc dot com
Page - http://us2.php.net/manual/en/memcached.getresultcode.php
 [2021-06-09 11:53 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:53 UTC] cmb@php.net
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <https://github.com/php-memcached-dev/php-memcached/issues>
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 20:01:55 2025 UTC