The Boolean type can be the simplest of the three packaging objects: Number, String, and Boolean. Number and String objects have a large Number of instance attributes and methods, but few Boolean objects. In a sense, designing a program for a
a more comprehensive set of PHP tutorials , basic video and some small combat projects, below is the video directoryCD-ROM (i) \php employment Class (I.)CD-ROM (i) \php Technical exchange zone. URLCD-ROM (i) \ "Wisdom Special issue" belongs to it
PHP Boolean data type falsetrue usage introduction. In php, falsetrue is true or false. in php, falsetrue is called a Boolean data type. it is a common data type. for example, conditional judgment is also a Boolean data type, in php, false true
This is the simplest type. Boolean represents the TRUE value, which can be TRUE or FALSE. This is the simplest type. Boolean represents the TRUE value, which can be TRUE or FALSE.
Syntax
To specify a Boolean value, use the keyword TRUE or FALSE.
Grammar:
To specify a Boolean value, use the keyword TRUE or FALSE. Two are not case-sensitive.
The code is as follows
Copy Code
$foo = True; Assign the value TRUE to $foo?>
The Boolean value returned by the
This is the simplest type. Boolean expresses the truth value, which can be TRUE or FALSE.
Grammar
To specify a Boolean value, use the keyword TRUE or FALSE. Two are not case-sensitive.
The Boolean result returned by the usual operator is passed to
Php Boolean data type and process-controlled data type conversion Boolean data type is the simplest data type. It can be TRUE or FALSE, and keywords are case-insensitive. To explicitly convert an & #20540; to a boolean type, use (bool) or (boolean)
A boolean value is obtained by comparing a locally stored value with the obtained value. The current boolean Value/*** Sets the port of the local Socks5 proxy. Default is 7777. If you set the port to a negative* Value Smack tries the absolute value
In php, false true indicates true or false. in php, it is called a boolean data type. It is a common data type. For example, conditional judgment is also a boolean data type, the following is an introduction.
Syntax
To specify a Boolean value, use
Php Boolean data type and process-controlled data type conversion Boolean data type is the simplest data type. It can be TRUE or FALSE, and keywords are case-insensitive. To explicitly convert an & #20540; to a boolean type, use (bool) or (boolean)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.