note 107247 added to memcached.expiration
| From: | info at tueena dot com | Date: | Tue, 24 Jan 2012 15:24:11 +0000 |
| Subject: | note 107247 added to memcached.expiration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185728@lists.php.net to get a copy of this message | ||
Note that if you pass the expiration time as an offset of seconds then the cache item will expire in
current-second + offset, not in now + offset.
<?php
$Memcached->add('foo', 42, 2);
?>
This item will expire in n seconds where n > 1 and <= 2, not in exactly 2 seconds.
----
Server IP: 69.147.83.197
Probable Submitter: 46.206.195.171
----
Manual Page -- http://www.php.net/manual/en/memcached.expiration.php
Edit -- https://master.php.net/note/edit/107247
Del: integrated -- https://master.php.net/note/delete/107247/integrated
Del: useless -- https://master.php.net/note/delete/107247/useless
Del: bad code -- https://master.php.net/note/delete/107247/bad+code
Del: spam -- https://master.php.net/note/delete/107247/spam
Del: non-english -- https://master.php.net/note/delete/107247/non-english
Del: in docs -- https://master.php.net/note/delete/107247/in+docs
Del: other reasons-- https://master.php.net/note/delete/107247
Reject -- https://master.php.net/note/reject/107247
Search -- https://master.php.net/manage/user-notes.php