PHP - extracting words from a list in a text
<p>I have a list of words - a whitelist, basically - say: "kitchen chair table";</p>

<p>Given any text, I want to know which of those words (from the whitelist) are in it, with PHP.</p>

<p>Can you please suggest a good way to do it - easy to understand and not too bad on performance?</p>
