Q. Which PHP function checks if a variable is an integer?
β
Correct Answer: (B)
is_int()
Explanation: is_int() checks if the variable type is integer.