Now I'm confused.. should I allow octal and hexadecimal as well? Is this an "integer"? I know that they represents an integer but is this something we really expect? Then I have to add almost the same logic to is_integer like it is in is_numeric (except the floating stuff of decimal numbers)?!