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