php check if not int code example
Example: php check if input is int
$a = 5; //returns true
$a = "5"; //returns false
$a = 5.3; //returns false
is_int($a);
$a = 5; //returns true
$a = "5"; //returns false
$a = 5.3; //returns false
is_int($a);