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:
"integer"
"double"
"string"
"array"
"object"
"unknown type"
See also settype().
This PHP manual is Copyright © 1997, 1998, 1999, 2000 the PHP Documentation Group. It has been licensed under the GPL. Permission granted for display on the Abscissa Tech web site on March 9, 2000. The most recent PHP documentation is available at http://www.php.net/.