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