(No version information available, might be only in CVS)
SplBool::__construct — Constructs a bool object type
This constructs a new object of type bool.
Aucune valeur n'est retournée.
Exemple #1 SplBool::__construct() example
<?php
$one = new SplBool(true);
$two = new SplBool(1);
var_dump($one);
var_dump($two);
?>
L'exemple ci-dessus va afficher :
object(SplBool)#1 (1) { ["__default"]=> bool(true) } object(SplBool)#1 (1) { ["__default"]=> bool(true) }