Re: re: removing an item from an array
| From: | Levi Morrison | Date: | Mon, 20 Aug 2012 17:27:06 +0000 |
| Subject: | Re: re: removing an item from an array | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62295@lists.php.net to get a copy of this message | ||
> You are basically asking to alias array_filter with "array_delete". That is
> a very slippery slope. I think array_filter is a very obvious choice
> to remove something from an array. The "filter" function/method is common
> in functional languages (and functional frameworks like Underscore).
This about sums up my opinion on deleting things by value on a PHP array.