apcu_inc
Increase a stored number
&reftitle.description;
intapcu_inc
stringkey
intstep1
boolsuccess
Increases a stored number.
&reftitle.parameters;
key
The key of the value being increased.
step
The step, or value to increase.
success
Optionally pass the success or fail boolean value to
this referenced variable.
ttl
TTL to use if the operation inserts a new value (rather than incrementing an existing one).
&reftitle.returnvalues;
Returns the current value of key's value on success,
&return.falseforfailure;
&reftitle.changelog;
&Version;
&Description;
5.1.12
The ttl parameter has been added.
&reftitle.examples;
apcu_inc example
]]>
&example.outputs.similar;
&reftitle.seealso;
apcu_dec