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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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)

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC