Php/docs/internals2.counter.function.counter-bump-value
From Get docs
counter_bump_value
counter_bump_value — Change the current value of a counter resource
Description
counter_bump_value
( resource $counter
, int $offset
) : void
counter_bump_value() updates the current value of a counter resource.
Parameters
counter
- The counter resource to operate on.
offset
- The amount by which to change the counter's value. Can be negative.
See Also
- counter_get_value() - Get the current value of a counter resource
- counter_reset_value() - Reset the current value of a counter resource