Annoying handling of booleans....

Per Wigren tuxie at dekadance.se
Fri Sep 3 04:29:57 PDT 2004


I've noticed that memcache returns a boolean FALSE instead of NULL as I 
expected when it can't find the key in PHP...
Is there an efficient way to store booleans without resorting to using 0 
and 1?
Returning NULL on failure would be much better because I could then test 
with is_null() to se if it was there...

// Per


More information about the memcached mailing list