bool is_int ( mixed $var )
Finds whether the type of the given variable is integer.
To test if a variable is a number or a numeric string (such as form input, which is always a string), you must use
Don’t repeat yourself. Don’t repeat yourself. Don’t repeat yourself.
More coming soon…keep checking back.