Which of the following functions are used by PHP to find out what type a variable is?
-
gettype()
-
is_double()
-
get_type()
-
is_date()
-
A&B
E
Correct answer
Explanation
PHP provides gettype() to determine a variable's type and is_double() as an alias for is_float() to specifically check for double/float types. Both functions serve type detection purposes, though is_double() is a deprecated alias for is_float(). The get_type() option is incorrect due to underscore placement, and is_date() is not a standard PHP function.