PHP: How to know if number is in a interval of int? : <p>I have a variable of int type called <code>myNumber</code> and I need to know if it is in the interval [100, 200].</p>

<p>Example:</p>

<pre><code>if (myNumber in (100, 200)) {
    echo 'Yes';
}
</code></pre>

<p>I wonder if PHP has a <code>in</code> function or similar.</p>
