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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 27 = ?
Subscribe to this entry?

 
 [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: Wed Apr 24 06:01:29 2024 UTC