Basically, I have an array of keywords, and a piece of text. I am wondering what would be the best way to find out if any of those keywords are present in the text, bearing in m
You could dump the text into an array and do a array_intersect_key on the two arrays. I am not sure of the performance of this though...