On Thu, Nov 19, 2009 at 4:29 PM, Jelrik van Hal wrote:
> Victor, I do wholeheartedly agree with you about the mess things will be
> when allowing $this to refer to different things in different contexts of
> calling the same closure (B, C and D): I think it'll prove very difficult to
> keep track
On Mon, Oct 19, 2009 at 1:13 PM, Mathieu Suen
wrote:
> Looking at the way array_map is working, it could worth to use
> create_function for object.
>
> For example if I got a list of object:
>
> $callback = create_function($element, 'return $selement->getId();');
> $ids = array_map($callback, $so