Answers for "php check if input is specific number"

PHP
2

php check if input is int

$a = 5; //returns true
$a = "5"; //returns false
$a = 5.3; //returns false
is_int($a);
Posted by: Guest on May-25-2020

Code answers related to "php check if input is specific number"

Browse Popular Code Answers by Language