strops
文字列に 2 つの特定の単語が含まれていないかどうかを確認する方法を教えてください。(?
と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”;
}