Description:
------------
There is a small documentation bug at:
http://nl.php.net/manual/en/ref.memcache.php
It made me think the expiration didn't work.
$memcache->set('key', $tmp_object, 10) or die ("Failed to save data at the server");
echo "Store data in the cache (data will expire in 10 seconds)<br/>\n";
This should be something like:
$memcache->set('key', $tmp_object, 0, 10) or die ("Failed to save data at the server");
echo "Store data in the cache (data will expire in 10 seconds)<br/>\n";
Expected result:
----------------
Data stored in the cache for 10 seconds
Actual result:
--------------
Data stays in cache for a long time