--TEST-- Test for bug 155 --SKIPIF-- --FILE-- setOption(Memcached::OPT_BINARY_PROTOCOL, true); $m->addServer(MEMC_SERVER_HOST, MEMC_SERVER_PORT); $key = 'bug_155_' . uniqid(); $m->set ($key, 'test', time() + 86400); $m->get ($key); echo "GET: " . $m->getResultMessage() . PHP_EOL; $m->touch ($key, time() + 86400); echo "TOUCH: " . $m->getResultMessage() . PHP_EOL; $m->touch ($key, time() + 86400); echo "TOUCH: " . $m->getResultMessage() . PHP_EOL; $m->get ($key); echo "GET: " . $m->getResultMessage() . PHP_EOL; $m->get ($key); echo "GET: " . $m->getResultMessage() . PHP_EOL; echo "DONE" . PHP_EOL; --EXPECT-- GET: SUCCESS TOUCH: SUCCESS TOUCH: SUCCESS GET: SUCCESS GET: SUCCESS DONE