title: preg_match() vs strpos() for match finding?
body: <p>For <strong>single value check</strong>, which of both is preferred and why?</p>
  
  <pre><code>$string == 'The quick brown fox jumps over the lazy dog';
  
  if(strpos($string, 'fox') !== false){
      // do the routine
  }
  
  # versus
  
  if(preg_match('/fox/i', $string)){
      // do the routine
  }
  </code></pre>