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: -
From: audvare at gmail dot com Assigned:
Status: Open Package: memcached (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
17 - 1 = ?
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

Add a Patch

Pull Requests

Add a Pull Request

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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Oct 19 09:01:26 2019 UTC