Jump to content

Lexib0y

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Lexib0y

  1. Hello All,

     

    On the page about the PHP filter 'FILTER_VALIDATE_INT' there is a warming about a problem with this filter. (The filter does not validate 0 (zero) as an integer.)

     

    I found that the same kind of problem occurs with FLOAT.
    I think it would be good to add this warning to the page of the 'FILTER_VALIDATE_FLOAT' as well.

     

     

    URL's of the pages:

     

    http://www.w3schools.com/php/filter_validate_int.asp

    http://www.w3schools.com/php/filter_validate_float.asp

     

    Kind regards,

    Alex

×
×
  • Create New...