Longhorn PHP 2025 - Call For Papers

Voting

: min(eight, nine)?
(Example: nine)

The Note You're Voting On

Anonymous
4 years ago
is_float() returns true for NAN, INF and -INF. You may want to test is_float($value) && is_finite($value), or alternatively filter_var($value, FILTER_VALIDATE_FLOAT) !== false.

<< Back to user notes page

To Top