← All docs

Type builtins

Builtins in the Type category.

Type builtins

FunctionSignatureReturns
boolval()(mixed $value): boolbool
ctype_alnum()(string $text): boolbool
ctype_alpha()(string $text): boolbool
ctype_digit()(string $text): boolbool
ctype_space()(string $text): boolbool
floatval()(mixed $value): floatfloat
get_resource_id()(resource $resource): intint
get_resource_type()(resource $resource): stringstring
gettype()(mixed $value): stringstring
intval()(mixed $value): intint
is_array()(mixed $value): boolbool
is_bool()(mixed $value): boolbool
is_callable()(mixed $value): boolbool
is_float()(mixed $value): boolbool
is_int()(mixed $value): boolbool
is_iterable()(mixed $value): boolbool
is_null()(mixed $value): boolbool
is_numeric()(mixed $value): boolbool
is_object()(mixed $value): boolbool
is_resource()(mixed $value): boolbool
is_scalar()(mixed $value): boolbool
is_string()(mixed $value): boolbool
settype()(mixed $var, string $type): boolbool