PHP identify duplicate words in a text string against a list of words

PHP identify duplicate words in a text string against a list of words