Home »
MCQs »
PHP MCQs
Which is/are the function(s) to check if the type of a variable is integer?
59. Which is/are the function(s) to check if the type of a variable is integer?
- is_int()
- is_integer()
- is_long()
- All of the above
Answer: D) All of the above
Explanation:
The all of the functions is_int(), is_integer(), and is_long() are used to check if the type of a variable is integer.