php.net |  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
Votes:3
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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
Description:
------------
Result of Memcached::getVersion contains Port reduced by one

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


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

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



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:55 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:55 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-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 15:01:28 2024 UTC