On Thu, 2012-07-12 at 01:49 +0200, Johannes Schlüter wrote:
> Just picking some random example:
> 
>       * array_map() - This can be implemented using that infrastructure.
>         (While some might think about returning an Traversable object if
>         a Traversable object got put in, maybe a FilterIterator but
>         let's ignore that)
>       * array_filter() - This is almost the same as array_map() but we
>         can't implement it using Traversable, as current() (for good
>         reasons) returns no reference.

I meant array_walk(). array_filter() shouldn't be an issue either.
That happens, when you shorten a list of examples ...

johannes



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

Reply via email to