<?php
/* - - - - - - - - - - - - - - - - - - -
TRUE or true
FALSE or false
- - - - - - - - - - - - - - - - - - - */
?>
BOOLEAN SPECIFICATION | ||
NAMES | POSSIBLE VALUE | |
false | FALSE | 0 |
true | TRUE | 1 |
ed48 |
<?php
/* - - - - - - - - - - - - - - - - - - - - - - - - - -
A BOOLEAN data can be obtained
in response to a specific function
or in routines that involve
decision making
We will see how, in the
near future in this tutorial
The best way to view a
BOOLEAN value
is to use the var_dump function
- - - - - - - - - - - - - - - - - - - - - - - - - - */
$tr01 = true;
$TR01 = TRUE;
var_dump($tr01);
echo '<br>';
var_dump($TR01);
echo '<br><br>';
$fl01 = false;
$FL01 = FALSE;
var_dump($fl01);
echo '<br>';
var_dump($FL01);
?>