(PECL spl_types >= 0.1.0)
SplBool::__construct — ساخت شی نوع bool
ساخت شی نوع bool.
No value is returned.
Example #1 مثال SplBool::__construct()
<?php
$one = new SplBool(true);
$two = new SplBool(1);
var_dump($one);
var_dump($two);
?>
The above example will output:
object(SplBool)#1 (1) { ["__default"]=> bool(true) } object(SplBool)#1 (1) { ["__default"]=> bool(true) }