変数操作【PHP】変数の型を取得する gettype() gettype関数を使い変数の型を取得する gettype関数は変数の型を取得します。 返り値 返された文字列は、以下のいずれかの値を持ちます。 "boolean" "integer" "double" "string" "array" "object" "resource" "resource (closed)" "NULL" "unknown type" コード echo gettype(tr...2020.01.112022.11.19変数操作