Using filter_var with parameters
<p>I am trying check if variable is integer number and if she is in diapason: 2-15.</p>

<p>I am trying make this using <code>filter_var()</code> function. but I dont understood how correct use <code>min_range</code> and <code>max_range</code> parameters.</p>

<p>this not works, where I am wrong?</p>

<pre><code>$c = 48;

if ( filter_var($c, FILTER_VALIDATE_INT , array("min_range"=&gt;2,"max_range"=&gt;15)) === false ) {
    echo "bad";
}
</code></pre>
