logo       

Re: memcache(3) 1.2.0 released...: msg#00024

web.cache.memcached

Subject: Re: memcache(3) 1.2.0 released...

On Wed, 12 Jan 2005 11:02:01 -0800
John McCaskey <johnm@xxxxxxxx> 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



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise