Visual C++ .NET <-> PHP | Logical constant - true
Visual C++ .NET Used keywords: true
true
Description
true
Output
- return - Logical value
Examples
Visual C++ .NET
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 Used keywords: true
true
Description
true
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
Visual C++ .NET Used keywords: true
true
Description
true
Output
- return - Logical value
Examples
Visual C++ .NET
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
You can find it in the following collections: constants
Logical constant - true in another programming language:
Differences to: