memcache(3) 1.2.0 released...

Antony Dovgal tony2001 at phpclub.net
Wed Jan 12 11:03:04 PST 2005


On Wed, 12 Jan 2005 11:02:01 -0800
John McCaskey <johnm at klir.com> wrote:
 
> If the get() command however returns a FALSE for either my stored
> FALSE value or for a miss, then I will always have to assume its a
> miss and hit the slow storage everytime I retrieve a FALSE.  Am I
> missing something here?  I can't see it if so.

Yup, you're missing "===" operator.
empty string == false, but empty string !== false.

http://www.php.net/manual/en/language.operators.comparison.php

-- 
Wbr, 
Antony Dovgal aka tony2001


More information about the memcached mailing list