📌  相关文章
📜  检查数组是否包含字符串中的单词 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:39.443000             🧑  作者: Mango

代码示例3
$count = 0;
str_replace($owned_urls, '', $string, $count);
// if replace is successful means the array value is present(Match Found).
if ($count > 0) {
  echo "One of Array value is present in the string.";
}