1 variable function
The A.IS_XXX function is used to determine the variable type
Is_int, Is_integer, Is_long, determine whether the variable is an integer is_string--Whether the detection variable is a string is_float, Is_double, is_real, determine whether the variable is floating point type Is_bool judgment Whether the variable is a Boolean is_string whether the variable is a string Is_array whether the variable is an array type Is_resource whether the variable is a resource type is_object determine if the variable is an object Is_nul L Determine if the variable is null B. Determine whether a variable exists or is empty isset: Determines whether a variable defines empty: Determines whether the variable is null unset: the definition of the cancellation variable
2 Mathematical functions
Round function: 4 5 into the function, can define the precision Ceil: into a method to take the whole floor: The rounding method to take the whole Number_format: The number is formatted by the thousands group.
PHP Small function