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