Q. Which PHP function is used to get the type of a variable?
β
Correct Answer: (A)
gettype()
Explanation: gettype() returns the data type of a variable in PHP.