|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-03-27 17:28 UTC] marc-bennewitz at arcor dot de
[2011-03-27 19:42 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 12:00:01 2025 UTC |
Description: ------------ If you set a token on get to use the cas-feature the return value of get is false Reproduce code: --------------- $m = new Memcached(); $m->addServer('127.0.0.1', 11211, 1); var_dump($m->set('key', 'value', 100)); var_dump($m->get('key', null)); var_dump($m->get('key', null, $token)); var_dump($token); Expected result: ---------------- bool(true) string(5) "value" string(5) "value" float(4237) Actual result: -------------- bool(true) string(5) "value" bool(false) float(4237)