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
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: admin at yqed dot com
New email:
PHP Version: OS:

 

 [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)

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC