title: Remove if array contains string from another array
body: <p>So the idea is to remove from one array a list of numbers of other array, but it's only removing the first one, any help to solve this will be appreciated.</p>
  
  <pre><code>$my_array = array("Sandra Loor,593984076233","Adrian,593998016010","Lucas,593999843424");
  
  
  function myFilter($string) {
      $to_remove = array("593984076233","593998016010");
      foreach($to_remove as $remove)  {
          return strpos($string, $remove) === false;
      }
  
  }
  
  $newArray = array_filter($my_array, 'myFilter');
  
  foreach ($newArray as $val){
      echo $val.'&lt;br&gt;';
  }
  </code></pre>