Unknown memcache error

Jehiah Czebotar jehiah at gmail.com
Sat Mar 1 16:22:28 UTC 2008

As a side note, you don't need to get, then do a replace or a set
depending on weather or not the value is in memcached., you can always
just set which will blindly set the value regardless of if it was
there before or not.

>if ($mch->get('news:1234')
> $mch->replace('news:1234', $result);
>$mch->set('news:1234', $result);




More information about the memcached mailing list