note 90863 modified in function.memcache-increment by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jun 2010 14:32:10 +0000 |
| Subject: | note 90863 modified in function.memcache-increment by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170306@lists.php.net to get a copy of this message | ||
Please note:
If the key does not exist, memcache does NOT return false (as you might expect) but 0.
You won't get any hint that the key did not exist and still does not exist and that nothing was
incremented.
--was--
Please note:
If the key does not exist, memcache does NOT return false (as you might expect) but 0.
You won't get any hint that the key did not exist and still does not exist and that nothing was
incremented.
http://php.net/manual/en/function.memcache-increment.php