string gettype
PHP 変数 var の型を返します。
返された文字列は、以下のいずれかの値を持ちます。
"integer"
"double"
"string"
"array"
"object"
"unknown type"
settype も参照下さい。