There are three major categories:
1. Basic data types:
Integer type (integer), which can be positive or negative integer decimal, octal, hexadecimal;
Floating point type (float),
String type ( string),
Boolean,
2. Composite data types:
array
object
3. Special data types:
null()
resource )
Note: 1>A variable is considered to be NULL
in the following situations: NULL
:
被赋值为 NULL
NULL
. is
unset()The above introduces PHP to determine the character type. What are the PHP data types? , including content on determining character types in PHP. I hope it will be helpful to friends who are interested in PHP tutorials.
🎜 🎜