I found this example on stackoverflow:
if (strpos($a,'are') !== false) { echo 'true'; }
But how do I make it search for two words. I need something like this: if $a contains the words "are" or "be" or both echo "contains";
I tried xor and ||