📜  在字符串 php 代码示例中查找子字符串

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

代码示例4
$result = strpos("haystack", "needle");

if ($result != false)
{
  // text found
}