php find part of string in array

Solutions on MaxInterview for php find part of string in array by the best coders in the world

showing results for - "php find part of string in array"
Theodore
24 Aug 2017
1foreach($array as $item){
2  if(strpos($item,"mysearchword")!== false){
3    echo 'found';
4  }
5}
6