|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-09 15:47 UTC] mikael at synd dot info
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 16:00:01 2025 UTC |
Description: ------------ The version of memcached is 1.2.4-rc2, I can't get flags and cas value using get() method of MemcachePool, and also the cas () method. I know from the doc of memcached that, it supports two get command, get and gets, but I can only found one get() method in memcache-3.0.0. Does the two commands are the same? Reproduce code: --------------- $memcache = new MemcachePool(); $memcache->addServer('192.168.1.99', 11211, 11200); $memcache->setFailureCallback('failureCallback'); ... if (!($value = $memcache->get($key, $flags, $cas))) { echo "error: get, key-$key" . "<br />\n"; } else { echo "ok: get, key-$key value-$value flags-$flags cas-$cas" . "<br />\n"; } Actual result: -------------- ok: get, key-key_rbmyuysh value-value_czsjelml flags- cas-