SplBool::__construct
(No version information available, might be only in CVS)
SplBool::__construct — bool 型のオブジェクトを作成する
説明
SplBool::__construct
( void
)
これは、bool 型の新しいオブジェクトを作成します。
返り値
値を返しません。
例
例1 SplBool::__construct() の例
<?php
$one = new SplBool(true);
$two = new SplBool(1);
var_dump($one);
var_dump($two);
?>
上の例の出力は以下となります。
object(SplBool)#1 (1) { ["__default"]=> bool(true) } object(SplBool)#1 (1) { ["__default"]=> bool(true) }
SplBool::__construct
There are no user contributed notes for this page.
