title: Is there a way to have multiple values in one if statement?
body: <p>Can't believe I'm resorting to going on Stack Overflow to ask this rather than Google it, but is there a way to have multiple values in one if statement? For example, rather than using:</p>
  
  <pre><code>if ($var == 'value' || $var == 'othervalue') : 
      return true;
  endif;
  </code></pre>
  
  <p>...you could do something along the lines of:</p>
  
  <pre><code>if ($var == ('value' || 'othervalue')) : 
      return true;
  endif;
  </code></pre>
  
  <p>I know it's probably a very basic yes/no answer, but it's just something I've wanted to know but never really had the time to look up.</p>