|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-03-29 08:20 UTC] wedgedkc at hotmail dot com
Description: ------------ I'm having the same issue as this person[1]. Is this a bug with the extension or libmemcached? [1] http://lists.tangent.org/pipermail/libmemcached/2010-March/001058.html PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 05:00:02 2025 UTC |
Are you sure that fix is relevant? Shouldn't the third get below return "hello1"? I get "hello2". Latest rev from git. $memcache = new Memcached(); $memcache->setOption(Memcached::OPT_BINARY_PROTOCOL, true); $memcache->setOption(Memcached::OPT_PREFIX_KEY, 'prefix1'); $memcache->addServer('127.0.0.1', 11211); $memcache->set('test', "hello1", 120); var_dump($memcache->get('test')); $memcache2 = new Memcached(); $memcache2->setOption(Memcached::OPT_BINARY_PROTOCOL, true); $memcache2->setOption(Memcached::OPT_PREFIX_KEY, 'prefix2'); $memcache2->addServer('127.0.0.1', 11211); $memcache2->set('test', "hello2", 120); var_dump($memcache2->get('test')); var_dump($memcache->get('test'));