Q. Which PHP function is used to check the type of a variable? (A) gettype() (B) typeof() (C) var_type() (D) checktype() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) gettype() Explanation: gettype() returns the data type of a variable.