How to check that a string is an int, but not a double, etc.? How to check that a string is an int, but not a double, etc.? php php