counter_get_value

counter_get_value Get the current value of a counter resource

Descripción

counter_get_value ( resource $counter ) : int

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

Parámetros

counter
The counter resource to operate on.

Valores devueltos

counter_get_value() returns an integer.

Ver también