Matching a list of words with a sentence
<p>I have a list of "bad" words having around 450 words in it.</p>

<p>I'm trying to check the sentence for it with</p>

<pre><code>&lt;?php
$sentence = "A quick brown fox jumps over the lazy dog";
foreach($words as $word) {
    $check  =   strstr($sentence,$word);
    if(!empty($check))
        return false;        
}
return true;
?&gt;
</code></pre>

<p>Is there a faster and better approach to this?</p>
