title: Find position first occurence of an array of strings in a string
body: <p>PHP has a function <code>strpos()</code> for finding the position of the first instance of a given value in a string.  Is there a way to do this with a needle that is an array of strings?  It would give the first occurence:</p>
  
  <pre><code>$str = '1st and 3rd';
  
  str_array_pos($str, array('st', 'nd', 'rd', 'th')) //would return 1 because of 'st'
  </code></pre>