--TEST-- Test for Github issue #77 --SKIPIF-- --FILE-- touch($key, 5); var_dump ($mc->getResultCode() == Memcached::RES_NOTFOUND); $mc->set($key, 1, 5); $mc->set($key, 1, 5); var_dump ($mc->getResultCode() == Memcached::RES_SUCCESS); echo "OK\n"; ?> --EXPECT-- bool(true) bool(true) OK