Bug #60287 [Opn->Dup]: Dollar sign missing variable in memcache.php
Edit report at https://bugs.php.net/bug.php?id=60287&edit=1
ID: 60287
Updated by: rasmus@php.net
Reported by: admin at yqed dot com
Summary: Dollar sign missing variable in memcache.php
-Status: Open
+Status: Duplicate
Type: Bug
Package: memcache
Operating System: CentOS 5.7
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
It appears this was fixed in SVN over 7 months ago:
http://svn.php.net/viewvc/pecl/memcache/trunk/memcache.php?view=log
Previous Comments:
------------------------------------------------------------------------
[2011-11-14 00:33:40] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60287&edit=1
Thread (2 messages)