(PCC)::[How-to-Check-if-the-type-of-a-variable-is-integer-or-not-in-php]::[php]
<!DOCTYPE html> <html> <body> <?php // Check if the type of a variable is integer $x = 5985; var_dump(is_int($x)); echo "<br>"; // Check again... $x = 59.85; var_dump(is_int($x)); ?> </body> </html>