downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Counter::getValue> <Counter
[edit] Last updated: Fri, 25 May 2012

view this page in

Counter::__construct

Counter::__construct 単一の数値を保持する Counter のインスタンスを作成する

説明

Counter::__construct() ( string $name [, integer $initial_value [, integer $flags ]] )

単一の数値を保持する Counter のインスタンスを作成します。

パラメータ

name
カウンタの名前。
initial_value
カウンタの初期値。デフォルトはゼロ (0) です。
flags
カウンタのフラグ。 COUNTER_FLAG_* 定数の中から選択します。

返り値

成功した場合に Counter オブジェクトを返します。

エラー / 例外

Counter::__construct() は、問題が発生した場合に例外をスローします。



add a note add a note User Contributed Notes Counter::__construct
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites