PHP Doku:: Creates a counter which maintains a single numeric value. - internals2.counter.function.counter-create.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-Startseite ≥ PHP-Handbuch ≥ PHP im Kern: Das Entwicklerhandbuch für die Zend Engine ≥ The "counter" Extension - A Continuing Example ≥ The extended interface ≥ counter_create

Ein Service von Reinhard Neidl - Webprogrammierung.

The extended interface

<<The extended interface

counter_get_value>>

counter_create

counter_create — Creates a counter which maintains a single numeric value.

Beschreibung

resource counter_create ( string $name [, integer $initial_value [, integer $flags ]] )

Creates a counter which maintains a single numeric value.

Parameter-Liste

name
The new counter's name.
initial_value
The initial value of the counter. Defaults to zero (0).
flags
Flags for the new counter, chosen from the COUNTER_FLAG_* constants.

Rückgabewerte

Returns a counter resource.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)