gettype

gettype -- Get the type of a variable.

Description

string gettype(mixed var);

Returns the type of the PHP variable var.

Possibles values for the returned string are:

See also settype().