If it was just searching for a single word, it would have been easy, but the needle can be a word or more than a word.
Example
$text = "Dude,I am going to watch a movie, maybe 2c Rio 3D or Water for Elephants, wanna come over";
$words_eg1 = array ('rio 3d', 'fast five', 'sould surfer');
$words_eg2 = array ('rio', 'fast five', 'sould surfer');
$words_eg3 = array ('Water for Elephants', 'fast five', 'sould surfer');
'
is_words_in_text ($words_eq1, $text) / true, 'Rio 3D' matches with 'rio 3d'
is_words_in_text ($words_eq2, $text) //true, 'Rio' matches with 'rio'
is_words_in_text ($words_eq3, $text) //true, 'Water for Elephants'
Thank you,