PHP is_finite() FunctionThe is_finite() is PHP mathematical function, which is used to find whether a value is a legal finite number. Syntax:It returns true (1) if the value is a finite number, otherwise it returns false/nothing.
Example 1Output: Your given value is :2 By using 'is_finite()' Function :1 Example 2Output: Your Number is: 20000 By using 'is_finite()' function your value is:1 Example 3Output: bool(true) Example 4Output: bool(false) Example 5Output: bool(false)
Next TopicPHP Math
|