On 20/08/12 18:11, Levi Morrison wrote:
Adding array_delete would allow you to use it like a set more
It'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.

And there is another use case: removing of list items by value, instead of key.

--
Andrew Faulds
http://ajf.me/


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to