COUNTER_CREATE(3) COUNTER_CREATE(3)
counter_create - Creates a counter which maintains a single numeric value.
SYNOPSIS
resource counter_create (string $name, [integer $initial_value], [integer $flags])
DESCRIPTION
Creates a counter which maintains a single numeric value.
PARAMETERS
o name
- The new counter's name.
o initial_value
- The initial value of the counter. Defaults to zero (0).
o flags
- Flags for the new counter, chosen from the COUNTER_FLAG_* constants.
RETURN VALUES
Returns a counter resource.
PHP Documentation Group COUNTER_CREATE(3)