Gen. partnerAlgotech

PHP function is_finite()

Finds whether a value is a legal finite number

|
September 11, 2019

Availability in versions: PHP 4.2.0

Finds whether a value is a legal finite number

Parameters

Parameter Data type Default value Note
$val float not The value to check

Return values

bool

true if val is a legal finite number within the allowed range for a PHP float on this platform, else false.

Additional resources

Official is-finite documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.