PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

counter_get_named

counter_get_named Retrieve an existing named counter as a resource.

Description

resource Counter::getNamed ( string $name )

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.

PHP Manual