## CHECK IF INPUT IS NUMBER ONLY $number = "12345"; is_numeric($number); ## RETURNS TRUE IF NUMBER ONLY, ELSE FALSE
$a = 5; //returns true $a = "5"; //returns false $a = 5.3; //returns false is_int($a);