Can you please tell me how can I use strops
to see if a string doesn't contains any of the two specific words? (?
and if
)
$phrase = “how to use strops?”
if(strpos($phrase, "?|if") === false) //Is there a way I can detect the presence of
{ //either words in a sentence using one line of code that has strpos
echo “neither word is found”;
}