is_null

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Finds whether a variable is NULL bool is_null ( mixed $var ) Finds whether the given variable is NULL. Parameters: var The variable being evaluated. Returns: Returns TRUE if var is null, FALSE otherwise. Examples: is_null() example <

is_long

(PHP 4, PHP 5, PHP 7) Alias of is_int() This function is an alias of: is_int().

is_integer

(PHP 4, PHP 5, PHP 7) Alias of is_int() This function is an alias of: is_int().

is_int

(PHP 4, PHP 5, PHP 7) Find whether the type of a variable is integer bool is_int ( mixed $var ) Finds whether the type of the given variable is integer. Note: To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric(). Parameters: var The variable being evaluated. Returns:

is_float

(PHP 4, PHP 5, PHP 7) Finds whether the type of a variable is float bool is_float ( mixed $var ) Finds whether the type of the given variable is float. Note: To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use is_numeric(). Parameters: var The variable being evaluated. Returns: R

is_double

(PHP 4, PHP 5, PHP 7) Alias of is_float() This function is an alias of: is_float().

is_callable

(PHP 4 >= 4.0.6, PHP 5, PHP 7) Verify that the contents of a variable can be called as a function bool is_callable ( mixed $var [, bool $syntax_only = false [, string &$callable_name ]] ) Verify that the contents of a variable can be called as a function. This can check that a simple variable contains the name of a valid function, or that an array contains a properly encoded object and function name.

is_bool

(PHP 4, PHP 5, PHP 7) Finds out whether a variable is a boolean bool is_bool ( mixed $var ) Finds whether the given variable is a boolean. Parameters: var The variable being evaluated. Returns: Returns TRUE if var is a boolean, FALSE otherwise. Examples: is_bool() examples

is_array

(PHP 4, PHP 5, PHP 7) Finds whether a variable is an array bool is_array ( mixed $var ) Finds whether the given variable is an array. Parameters: var The variable being evaluated. Returns: Returns TRUE if var is an array, FALSE otherwise. Examples: Check that variable is an array

intval

(PHP 4, PHP 5, PHP 7) Get the integer value of a variable int intval ( mixed $var [, int $base = 10 ] ) Returns the integer value of var, using the specified base for the conversion (the default is base 10). intval() should not be used on objects, as doing so will emit an E_NOTICE level error and return 1. Parameters: var The scalar value being converted to an integer