php filter array contain valu

38

array_filter(
  $array,
  function ($element) use ($to_remove) {
    return strpos($element, $to_remove) === false;
  }
);

Comments

Submit
0 Comments