Adventure Documentation

PHP extends PlatformUtility
in package

Provides access to internal PHP functions.

Tags

Table of Contents

getType()  : string
Get variable type for variable
isArray()  : bool
Check if variable is of type array
isBool()  : bool
Check if variable is of type bool
isDouble()  : bool
Check if variable is of type double
isFloat()  : bool
Check if variable is of type float
isInt()  : bool
Check if variable is of type int
isNull()  : bool
Check if variable is null
isNumeric()  : bool
Check if variable is numeric
isObject()  : bool
Check if variable is of type object
isset()  : bool
Check if variable or key is set
isString()  : bool
Check if variable is of type string

Methods

getType()

Get variable type for variable

public getType([mixed $var = null ]) : string
Parameters
$var : mixed = null
Tags
see
gettype()
Return values
string

isArray()

Check if variable is of type array

public isArray([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_array()
Return values
bool

isBool()

Check if variable is of type bool

public isBool([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_bool()
Return values
bool

isDouble()

Check if variable is of type double

public isDouble([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_double()
Return values
bool

isFloat()

Check if variable is of type float

public isFloat([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_float()
Return values
bool

isInt()

Check if variable is of type int

public isInt([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_int()
Return values
bool

isNull()

Check if variable is null

public isNull([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_null()
Return values
bool

isNumeric()

Check if variable is numeric

public isNumeric([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_numeric()
Return values
bool

isObject()

Check if variable is of type object

public isObject([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_object()
Return values
bool

isset()

Check if variable or key is set

public isset(mixed $var, mixed ...$vars) : bool
Parameters
$var : mixed
$vars : mixed
Tags
see
isset()
Return values
bool

isString()

Check if variable is of type string

public isString([mixed $var = null ]) : bool
Parameters
$var : mixed = null
Tags
see
is_string()
Return values
bool

        

Search results