title: PHP - BUG with filter_var and FILTER_VALIDATE_FLOAT
body: <p>I think there is a bug in this filter_var or maybe I'm doing something wrong:
  Try this:</p>
  
  <pre><code>        $options = array(
              'options' =&gt; array(
                  'default' =&gt; 3,
                  'min_range' =&gt; 1000.0,
                  'max_range' =&gt; 5000.6,
              )
          );
  
    $VariableValue2 = 5698;
    $VariableValue4 = 5698.2;
  
    $chicco3 = filter_var($VariableValue2, FILTER_VALIDATE_INT, $options);
    $chicco4 = filter_var($VariableValue4, FILTER_VALIDATE_FLOAT, $options);
  </code></pre>
  
  <p>It suppose to don't validate it...   Infact the value:  5698 is greater than 5000.6!!!!
  But with FILTER_VALIDATE_INT it work FINE!!   It return 3 that is the default value in case it don't validate it...   PERFECT...</p>
  
  <p>Instead, with FILTER_VALIDATE_FLOAT it validate it...   It return 5698.2!!!   I'm doing something wrong???</p>
  
  <p>Thank you to everybody...</p>
  
  <p>Samuele</p>