Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

gettype()

3 tags 1 category

gettype() — Get the type of a variable.

gettype() — Returns the type of the PHP variable value. For type checking, use is_* functions.

Inputs: value: The variable being type checked.

Returns: Possible values for the returned string are: “boolean” “integer” “double” (for historical reasons “double” is returned in case of a float, and not simply “float”) “string” “array” “object” “resource” “resource (closed)” as of PHP 7.2.0 “NULL” “unknown type”

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…