Home »
MCQs »
PHP MCQs
Which is/are the function(s) to check if a numeric value is finite or infinite?
62. Which is/are the function(s) to check if a numeric value is finite or infinite?
- is_finite()
- is_infinite()
- is_inf()
- Both A. and B.
Answer: D) Both A. and B.
Explanation:
The functions is_finite() and is_infinite() are used to check if a numeric value is finite or infinite.