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

search for in the

ストリーム> <SplBool
Last updated: Fri, 05 Sep 2008

view this page in

SplBool::__construct

(No version information available, might be only in CVS)

SplBool::__constructbool 型のオブジェクトを作成する

説明

SplBool::__construct ( void )

これは、bool 型の新しいオブジェクトを作成します。

パラメータ

input

input パラメータには bool 値を指定します。

strict

オブジェクトの厳格度を指定する boolean 値。

返り値

値を返しません。

例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)
}



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

ストリーム> <SplBool
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites