doctrine/common — Issue #101: MemcacheCache Contains failes for 0 value
Author: jaypea
Created: 2012-01-30 13:55:41+00:00
State: open

the _doContains() Implementation in return false in there is a element in the cache with value === 0.
It should return true in those cases since the element in the cache exists.
my workaround is:
protected function _doContains($id)
{
$content =$this->_memcache->get($id);
return ($content === 0 || (bool) $content);
}