(PHP 3, PHP 4 >= 4.0.0)
string gettype (mixed var)
string gettype
Resituisce il tipo della variabile PHP var.
La stringa restituita puņ assumere i seguenti valori:
"integer"
"double"
"string"
"array"
"object"
"unknown type"
Si veda anche settype().