Re: re: removing an item from an array
| From: | Andrew Faulds | Date: | Mon, 20 Aug 2012 17:13:10 +0000 |
| Subject: | Re: re: removing an item from an array | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62294@lists.php.net to get a copy of this message | ||
On 20/08/12 18:11, Levi Morrison wrote:
And there is another use case: removing of list items by value, instead of key. -- Andrew Faulds http://ajf.me/Adding array_delete would allow you to use it like a set moreIt's not a set and wasn't meant to be. If you want really bad set behavior, feel free to use an array as one. Arrays also aren't lists or associative arrays, strictly speaking.