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