If [Get Variable] is equal to [Array]
<p>I am trying to find easier and simple way to code a logic.</p>

<p>That is if one variable is equal to any key values in an array.</p>

<p>For instance:</p>

<pre><code>$someArray = array("a","b","c");
If($_GET["foobar"] == $someArray) {
     return true;
} else {
     return false;
}
</code></pre>

<p>If the $_GET["foobar"] had a value of A, B, or C, the case would return true. If it was any other values, it would return false.</p>

<p>Thanks for the help.</p>
