var_dump(): can output complete information of a variable.
getType(): Get the type name of a variable, the result is a word (string), setType(); Set the type of a variable, syntax: setType (variable name, target type)
isset() determines a variable Whether data exists:
empty() determines whether a data is empty: close to our daily concept (if not, it is empty)
unset(): destroys (delete) a variable.
is_XX type() series of functions: determine whether a certain data is of a certain type, including: is_int(), is_float(), is_numeric(), is_bool(), is_array(), is_scalar():
is_numeric() Yes: 3, 3.5, "3", "3.14" are all true
is_scalar(): Determine whether it is a scalar type (i.e. int, float, stirng, bool)
The above has introduced PHP's type-related system functions, including related content. I hope it will be helpful to friends who are interested in PHP tutorials.