Availability in PHP 4.0 Finds out whether a variable is a boolean Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is a boolean, false otherwise. Other resources Official is…
Availability in PHP 4.0 Alias of function is_float(). Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is a float, false otherwise. Other resources Official is-double docume…
Availability in PHP 4.0 Find whether the type of a variable is string Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is of type string, false otherwise. Other resources Of…
Availability in PHP 4.0 Finds whether a variable is an array Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is an array, false otherwise. Other resources Official is-array…
Availability in PHP 4.0 &Alias; is_int Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is an integer, false otherwise. Other resources Official is-long documentation
Availability in PHP 4.0 &Alias; is_float Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is a float, false otherwise. Other resources Official is-real documentation
Availability in PHP 4.0 Checks if the input value is float (floating point number). For example, the number 3.14 is float. Parameters Parameter Data type Default value Note $var mixed not Variable to be validated. Return values bool Returns true if f…
Availability in PHP 4.0 Finds whether a variable is an object Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is an object, false otherwise. Other resources Official is-obj…
Availability in PHP 4.0 &Alias; is_int Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is an integer, false otherwise. Other resources Official is-integer documentation
Availability in PHP 4.0 Finds whether a variable is a number or a numeric string Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is a number or a numeric string, false othe…
Availability in versions: PHP 4.0.5 Checks if the input is a scalar value. Scalar variables are variables containing integer (integer), float, string or boolean. The array, object and resource types are not scalar. Note: The value null is not scalar!…
Availability in PHP 4.0 Find whether the type of a variable is integer Parameters Parameter Data type Default value Note $var mixed not The variable being evaluated. Return values bool true if var is an integer, false otherwise. Other resources Offic…