On Sat, Aug 18, 2012 at 12:42 AM, Alexey Zakhlestin <indey...@gmail.com> wrote:
>
> On 16.08.2012, at 0:18, Rasmus Schultz <ras...@mindplay.dk> wrote:
>
>> How come there is no straight-foward obvious way to simply remove a given
>> value from an array?
>
> Well, this sounds like a reason for creating SplSet class
>

There's already SplObjectStorage which CAN act like a Set for objects
only.  It's a terrible solution in my opinion and am working on
creating a proper one.  I don't know if that effort will be accepted,
but I wanted to point out that a set already exists in the SPL.

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

Reply via email to