note 53877 modified in function.memcache-increment by danbrown
| From: | danbrown@php.net | Date: | Sat, 19 Jun 2010 14:32:28 +0000 |
| Subject: | note 53877 modified in function.memcache-increment by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-170307@lists.php.net to get a copy of this message | ||
if no variable exists, even if you specify an increment value, the result will be null.
if you're using this for a mutex, chk if its null, and if so, then ADD the variable.
--was--
if no variable exists, even if you specify an increment value, the result will be null.
if you're using this for a mutex, chk if its null, and if so, then ADD the variable.
http://php.net/manual/en/function.memcache-increment.php