Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53630 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38712 invoked from network); 28 Jun 2011 19:20:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jun 2011 19:20:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=neufeind@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=neufeind@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 91.184.32.3 as permitted sender) X-PHP-List-Original-Sender: neufeind@php.net X-Host-Fingerprint: 91.184.32.3 mail.speedpartner.de Linux 2.5 (sometimes 2.4) (4) Received: from [91.184.32.3] ([91.184.32.3:35153] helo=mail.speedpartner.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/0A-18940-3992A0E4 for ; Tue, 28 Jun 2011 15:20:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.speedpartner.de (Postfix) with ESMTP id 40750B3AD7 for ; Tue, 28 Jun 2011 21:20:48 +0200 (CEST) Received: from mail.speedpartner.de ([127.0.0.1]) by localhost (mail.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bu4jdtMJI7mU for ; Tue, 28 Jun 2011 21:20:48 +0200 (CEST) Received: from collab.speedpartner.de (collab.speedpartner.de [91.184.32.10]) by mail.speedpartner.de (Postfix) with ESMTP id 2B8EFB3AC8 for ; Tue, 28 Jun 2011 21:20:48 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by collab.speedpartner.de (Postfix) with ESMTP id 222A750106 for ; Tue, 28 Jun 2011 21:20:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at collab.speedpartner.de Received: from collab.speedpartner.de ([127.0.0.1]) by localhost (collab.speedpartner.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lEclq8EnxRlO for ; Tue, 28 Jun 2011 21:20:39 +0200 (CEST) Received: from sn-dell.local.neufeind.net (ip-62-143-29-72.unitymediagroup.de [62.143.29.72]) by collab.speedpartner.de (Postfix) with ESMTPSA id EFB0D5000B for ; Tue, 28 Jun 2011 21:20:38 +0200 (CEST) Message-ID: <4E0A2987.1070109@php.net> Date: Tue, 28 Jun 2011 21:20:39 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10 MIME-Version: 1.0 To: internals@lists.php.net References: <7614.1309269079@mtco.com> In-Reply-To: <7614.1309269079@mtco.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Inline Lambda Functions From: neufeind@php.net (Stefan Neufeind) 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