Php/docs/internals2.counter.function.counter-get-named

From Get docs

counter_get_named

counter_get_named Retrieve an existing named counter as a resource


Description

Counter::getNamed ( string $name ) : resource

counter_get_named() returns an existing counter by name if that name exists, or NULL otherwise.


Parameters

name
The counter name to search for.


Return Values

counter_get_name() returns an existing counter by name if that name exists, or NULL otherwise.