strpos在搜索字符串时如何使用针数组?例如:
$find_letters = array('a', 'c', 'd');
$string = 'abcdefg';
if(strpos($string, $find_letters) !== false)
{
echo 'All the letters are found in the string!';
}
Run Code Online (Sandbox Code Playgroud)
因为在使用它时,它不起作用,如果有这样的东西会很好