|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72309 Memcached::getVersion returns wrong Port
Submitted: 2016-06-01 10:37 UTC Modified: 2021-06-09 11:55 UTC
Avg. Score:3.7 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:1 (33.3%)
From: t dot weber at interexa dot de Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: 7.0.7 OS: CentOS
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: t dot weber at interexa dot de
New email:
PHP Version: OS:


 [2016-06-01 10:37 UTC] t dot weber at interexa dot de
Result of Memcached::getVersion contains Port reduced by one

Test script:
$mc = new Memcached();
$mc->addServer('localhost', '11211');
$result = $mc->getVersion();

Expected result:
array('localhost:11211' => string '1.4.15')

Actual result:
array('localhost:11210' => string '1.4.15')


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:55 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:55 UTC]
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 19:01:30 2024 UTC