PHP - Logical constant - false: false
Logical constant - false is used as follows:false
Description
false
Output
- return - Logical value
Examples
PHP
In the source code you can find the equivalent of the above table, for easier orientation at the end of each line is a comment which shows the result.$a1 = !false; // a1 = true
$a2 = !true; // a2 = false
PHP
Other pieces of example codes:false
false && false
false || false
$y= false
$j > 128 || false
false
You can find it in the following collections: constants
Logical constant - false in another programming language: