title: How can I optimize an if request with many many "or" operators?
body: <p>Is there a way to reduce the code if I have many "ands" and "ands" in my if request for the same value? I would like to need <code>$row['animal']</code> only one time:</p>
  
  <pre><code>  if ($row['animal'] == "cat") or 
       ($row['animal'] == "dog") or 
       ($row['animal'] == "bird") or 
       ($row['animal'] == "monkey") or 
       ($row['animal'] == "mouse") or 
       ($row['animal'] == "hedgehog"){
       echo "many animals";}
  </code></pre>