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: -
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:
Status: Open Package: memcached (PECL)
PHP Version: 7.0.7 OS: CentOS
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Sep 26 06:01:23 2020 UTC