← All docs

Type builtins

Builtins in the Type category.

Type builtins

FunctionSignatureReturnsAOTeval()
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, int $base = 10): intint✓✓
is_array()(mixed $value): boolbool✓✓
is_bool()(mixed $value): boolbool✓✓
is_callable()(mixed $value): boolbool✓✓
is_countable()(mixed $value): boolbool✓✓
is_double()(mixed $value): boolbool✓✓
is_float()(mixed $value): boolbool✓✓
is_int()(mixed $value): boolbool✓✓
is_integer()(mixed $value): boolbool✓✓
is_iterable()(mixed $value): boolbool✓✓
is_long()(mixed $value): boolbool✓✓
is_null()(mixed $value): boolbool✓✓
is_numeric()(mixed $value): boolbool✓✓
is_object()(mixed $value): boolbool✓✓
is_real()(mixed $value): boolbool✓✓
is_resource()(mixed $value): boolbool✓✓
is_scalar()(mixed $value): boolbool✓✓
is_string()(mixed $value): boolbool✓✓
settype()(mixed $var, string $type): boolbool✓✓
strval()(mixed $value): stringstring✓✓
var_export()(mixed $value, bool $return = false): mixedmixed✓-