counter_reset
counter_create
The "counter" Extension - A Continuing Example
PHP Manual

# The extended interface

## Spis treści

- counter_create — Creates a counter which maintains a single numeric value.
- counter_get_value — Get the current value of a counter resource.
- counter_bump_value — Change the current value of a counter resource.
- counter_reset_value — Reset the current value of a counter resource.
- counter_get_meta — Return a piece of metainformation about a counter resource.
- counter_get_named — Retrieve an existing named counter as a resource.

counter_reset
counter_create
The "counter" Extension - A Continuing Example
PHP Manual