使用阵列作为strpos中的针
strpos在搜索字符串时如何使用针数组?例如:
$find_letters = array('a', 'c', 'd');$string = 'abcdefg';if(strpos($string, $find_letters) !== false){
echo 'All the letters are found in the string!';}因为在使用它时,它不起作用,如果有这样的东西会很好
FFIVE
aluckdog
qq_笑_17
随时随地看视频慕课网APP