Counter::__construct — Creates an instance of a Counter which maintains a single numeric value
$name
, int $initial_value
= ?
, int $flags
= ?
)Creates an instance of a Counter which maintains a single numeric value.
COUNTER_FLAG_*
constants.
Returns a Counter object on success.
Counter::__construct() throws an Exception if something goes wrong.