How to create boolean variables in PHP?
In PHP, to create a boolean variables, use the constants TRUE or FALSE:
Note that boolean constants in PHP are case-insensitive, they must be written upper case.<?php
$myBoolean = TRUE;
// Specify a boolean literal set to FALSE
$myBoolean = FALSE;
In PHP, to create a boolean variables, use the constants TRUE or FALSE:
Note that boolean constants in PHP are case-insensitive, they must be written upper case.<?php
$myBoolean = TRUE;
// Specify a boolean literal set to FALSE
$myBoolean = FALSE;
In PHP, to create a boolean variables, use the constants TRUE or FALSE:
Note that boolean constants in PHP are case-insensitive:<?php
$myBoolean = TRUE;
// Specify a boolean literal set to FALSE
$myBoolean = FALSE;
In PHP, to create a boolean variables, use the constants TRUE or FALSE:
Note that boolean constants in PHP are case-insensitive:<?php
$myBoolean = TRUE;
// Specify a boolean literal set to FALSE
$myBoolean = FALSE;
In PHP, to create a boolean variables, use the constants TRUE or FALSE:
Note that boolean constants in PHP are case-insensitive:<?php
$myBoolean = TRUE;
// Specify a boolean literal set to FALSE
$myBoolean = fAlSe;
| # | ID | Query | URL | Count |
|---|---|---|---|---|
| 0 | 11999 | en | https://en.ans.wiki/68/how-to-create-boolean-variables-in-php | 8 |