<?php $items = ["one", "two", "three"]; $ignore = "two"; for ($i = 0; $i < 1000; $i++) { array_filter($items, function ($item) use ($ignore) { return $item !== $ignore; }); }
You have javascript disabled. You will not be able to edit any code.