Thursday, April 3, 2014

PHP function Variable Checking / Validate

Is PHP function Variable Checking / Validate

is_array
is_bool
is_callable
is_double
is_float
is_int
is_integer
is_long
is_null
is_numeric
is_object
is_real
is_resource
is_scalar
is_string

PHP function Variable Checking / Validate

is_array() - Finds whether a variable is an array
is_bool() - Finds out whether a variable is a boolean
is_float() - Finds whether the type of a variable is float
is_int() - Find whether the type of a variable is integer
is_null() - Finds whether a variable is NULL
is_numeric() - Finds whether a variable is a number or a numeric string
is_object() - Finds whether a variable is an object
is_resource() - Finds whether a variable is a resource
is_scalar() - Finds whether a variable is a scalar
is_string() - Find whether the type of a variable is string

No comments:

Post a Comment