note 110535 added to function.apc-inc
| From: | elfi47 | Date: | Fri, 02 Nov 2012 18:24:03 +0000 |
| Subject: | note 110535 added to function.apc-inc | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-191644@lists.php.net to get a copy of this message | ||
if you set a variable via apc_store and set a TTL,
you have to do a apc_get($key) before using apc_inc().
if you try it without apc_get() your entry will never expire because with apc_inc the variable will
never expire!
----
Server IP: 87.106.1.137
Probable Submitter: 88.64.7.5
----
Manual Page -- http://www.php.net/manual/en/function.apc-inc.php
Edit -- https://master.php.net/note/edit/110535
Del: integrated -- https://master.php.net/note/delete/110535/integrated
Del: useless -- https://master.php.net/note/delete/110535/useless
Del: bad code -- https://master.php.net/note/delete/110535/bad+code
Del: spam -- https://master.php.net/note/delete/110535/spam
Del: non-english -- https://master.php.net/note/delete/110535/non-english
Del: in docs -- https://master.php.net/note/delete/110535/in+docs
Del: other reasons-- https://master.php.net/note/delete/110535
Reject -- https://master.php.net/note/reject/110535
Search -- https://master.php.net/manage/user-notes.php