Hi, On Feb 4, 2013 12:33 PM, "Gustavo Lopes" <glo...@nebm.ist.utl.pt> wrote:
> So the question is only whether "+0" or "-0" (or "+0", etc.) should be accepted as integers by FILTER_VALIDATE_INT. I think they should, because we also accept non-canonical inputs such as "+5", i.e., we always accept a sign. It's true that 0 is neither positive or negative, but I don't think "accepts a leading sign, except if it's 0" is a good option. It's an unnecessary special case. > I fully agree. Cheers, Pierre