php man page for splbool

Query: splbool

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SPLBOOL(3)								 1								SPLBOOL(3)

The SplBool class

INTRODUCTION
The SplBool class is used to enforce strong typing of the bool type.
CLASS SYNOPSIS
SplBool SplBoolextends SplEnum Constants o const boolean$SplBool::__defaultfalse o const boolean$SplBool::falsefalse o const boolean$SplBool::truetrue Inherited methods o public array SplEnum::getConstList ([bool $include_default = false])
PREDEFINED CONSTANTS
o SplBool::__default - o SplBool::false - o SplBool::true -
EXAMPLES
Example #1 SplBool usage example <?php $true = new SplBool(true); if ($true) { echo "TRUE "; } $false = new SplBool; if ($false) { echo "FALSE "; } ?> The above example will output: TRUE PHP Documentation Group SPLBOOL(3)
Related Man Pages
simplexmliterator(3) - php
splobjectstorage(3) - php
reflectionmethod(3) - php
is_float(3) - php
parsekit_func_arginfo(3) - php
Similar Topics in the Unix Linux Community
UNIX.COM 2017 Year End Summary
New Code Tags (Syntax Highlighting)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch