Can a switch statement take two arguments?
<p>is it posible for a PHP switch statement to take 2 arguements? For example:</p>

<pre><code>switch (firstVal, secondVal){

    case firstVal == "YN" &amp;&amp; secondVal == "NN":
    thisDesc = "this is the outcome: YN and NN";
    break;

    case firstVal == "YY" &amp;&amp; secondVal == "NN":
    thisDesc = "this is the outcome: YY and NN";
    break;
}
</code></pre>

<p>Many thanks, I haven't done PHP in years!</p>
