(PHP3 , PHP4 )
string gettype (mixed var)
string gettype
Returns the type of the PHP variable var.
Possibles values for the returned string are:
"boolean"
"integer"
"double"
"string"
"array"
"object"
"resource"
"user function"
"unknown type"
See also settype().