counter_reset_value

Reset the current value of a counter resource.

Description

void counter_reset_value ( resource $counter )

counter_reset_value resets the current value of a counter resource to its original initial value.

Parameters

counter
The counter resource to operate on.

See Also

  • counter_get_value
  • counter_bump_value