#2504 Small documentation bug
Submitted: 2004-10-11 19:07 UTC
From: info at rhalff dot com Assigned: tony2001
Status: Closed Package:
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-10-11 19:07 UTC] info at rhalff dot com
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

Comments

 [2004-10-12 04:41 UTC] tony2001 at php dot net
Fixed, thanks!