|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesfix-variable-anchor-memcache-doc (last revision 2011-12-05 14:55 UTC by mvfreelancer at gmail dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-28 17:58 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2015-05-28 17:58 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 03:00:02 2025 UTC |
Description: ------------ Line57 of memcache.php is "return values" now, but it should be "return $values"! The absence of "$" make this script can not run. Reproduce code: --------------- 51 function get_host_port_from_server($server){ 52 $values = explode(':', $server); 53 if (($values[0] == 'unix') && (!is_numeric( $values[1]))) { 54 return array($server, 0); 55 } 56 else { 57 return values; 58 } 59 }