コード例 #1
0
function s_memcache_del($key)
{
    if (s_bad_string($key) || false === ($cache = s_memcache_local())) {
        return false;
    }
    //不做值存在检查,直接写
    return $cache->delete(md5(MEM_CACHE_KEY_PREFIX . $key));
}
コード例 #2
0
function s_memcache_del($key)
{
    if (s_bad_string($key) || false === ($cache = s_memcache_local())) {
        return false;
    }
    //不做值存在检查,直接写
    return $cache->delete($key);
}