php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60287 Dollar sign missing variable in memcache.php
Submitted: 2011-11-14 00:33 UTC Modified: 2011-11-15 20:54 UTC
From: admin at yqed dot com Assigned:
Status: Duplicate Package: memcache (PECL)
PHP Version: 5.3.8 OS: CentOS 5.7
Private report: No CVE-ID: None
 [2011-11-14 00:33 UTC] admin at yqed dot com
Description:
------------
Latest 3.0.6 beta:

function get_host_port_from_server($server){
	$values = explode(':', $server);
	if (($values[0] == 'unix') && (!is_numeric( $values[1]))) {
		return array($server, 0);
	}
	else {
		return values;
	}
}

The dollar sign is missing on returned values, it should be $values.



Patches

php-pecl-memcache-3.0.6-admin.patch (last revision 2011-11-14 00:34 UTC by admin at yqed dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-15 20:54 UTC] rasmus@php.net
-Status: Open +Status: Duplicate
 [2011-11-15 20:54 UTC] rasmus@php.net
It appears this was fixed in SVN over 7 months ago:

http://svn.php.net/viewvc/pecl/memcache/trunk/memcache.php?view=log
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jun 19 23:01:23 2021 UTC