Maybe. But if it's 0 then presumably it wouldn't be cached? It's like
caching false
On 22 Dec 2013 21:07, "Kristian Lewis Jones" <notifications@github.com>
wrote:

> In Phavour/Cache/AdapterApc.php:
>
> > +        }
> > +
> > +        return apc_store($key, $value, $ttl);
> > +    }
> > +
> > +    /**
> > +     * Check if a cached key exists.
> > +     * This method calls get() so if you need a value, use get()
> > +     * instead.
> > +     *
> > +     * @param string $key
> > +     * @return boolean
> > +     */
> > +    public function has($key)
> > +    {
> > +        return ($this->get($key) != false);
>
> use !== incase the cached value is '0' ?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/phavour/phavour/pull/3/files#r8521157>
> .
>