Re: Inline Lambda Functions
| From: | Stefan Neufeind | Date: | Tue, 28 Jun 2011 19:20:39 +0000 |
| Subject: | Re: Inline Lambda Functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53630@lists.php.net to get a copy of this message | ||
On 06/28/2011 03:51 PM, Jarrod Nettles wrote:
> There are two projects that I've been following for awhile now: PLINQ
> and PHPLinq.
> http://plinq.codeplex.com/
> http://phplinq.codeplex.com/
> Both of them have made very solid attempts at providing LINQ-like
> functionality to PHP but with both, I've been a little frustrated
> with the implementations, due to the wordy syntax that PHP lambda
> functions require.
[...]
Hi,
well, for your examples: Why not just array_filter() with an appropriate
callback? Should handle it like you describe plinq does it, right?
Regards,
Stefan