PHP 8.1.28 Released!

is_real

(PHP 4, PHP 5, PHP 7, PHP 8)

is_realAlias of is_float()

Description

This function is an alias of: is_float().

Warning

This alias was DEPRECATED in PHP 7.4.0, and REMOVED as of PHP 8.0.0.

add a note

User Contributed Notes 1 note

up
-1
hans at loltek dot net
5 days ago
<?php
function is_fake(mixed $value): bool {
return !
is_real($value);
}
?>
To Top