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
splobjectstorage(3) - php
class_alias(3) - php
is_string(3) - php
parsekit_func_arginfo(3) - php
substr(3) - php
Similar Topics in the Unix Linux Community
User Guide: Posting in the Emergency Forum
Rules for Homework &amp; Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Please Welcome Ravinder Singh to the Moderation Team
Denial Of Service Attack Update