<?php $array = ['1_LL', '2_LL', 'AND_WLL']; $remove = 'WLL'; $array = array_filter($array, function($value) use ($remove) { return false === strpos($value, $remove); }); print_r($array);
You have javascript disabled. You will not be able to edit any code.