Get the current value of a counter resource

# counter_get_value

counter_get_value — Get the current value of a counter resource

### Descrierea

counter_get_value ( resource `$counter` ) : int

counter_get_value() returns the current value of a counter resource.

### Parametri

`counter`
  The counter resource to operate on.

### Valorile întoarse

counter_get_value() returns an integer.

### A se vedea și

- counter_bump_value() - Change the current value of a counter resource
- counter_reset_value() - Reset the current value of a counter resource