Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:38317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86576 invoked from network); 17 Jun 2008 10:02:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2008 10:02:02 -0000 Authentication-Results: pb1.pair.com header.from=chx1975@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chx1975@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.198.232 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chx1975@gmail.com X-Host-Fingerprint: 209.85.198.232 rv-out-0506.google.com Received: from [209.85.198.232] ([209.85.198.232:7768] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/04-61252-99B87584 for ; Tue, 17 Jun 2008 06:02:01 -0400 Received: by rv-out-0506.google.com with SMTP id g37so5406283rvb.23 for ; Tue, 17 Jun 2008 03:01:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=sxRz8x6xfAVvnLco0W0q/hFWV3MMmpo9P6sGqFo21Xk=; b=N4L/BlUCGPcM1l5+yKghs0Y700X1NcjpC9q5Cyb55JHvYTolZyHzry+DbwgH0NLvrV 5bHGkW4UJ/pzppqEWz7o9UuCYPi3kzU0yFyhgYSkHSyJ4gqwQJoXyCqZ8GmFRZb8PueQ rqMLepVE6OxVyPZ8KujPN/AbPtRuN/f6t2LTs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=Iuf/Kc03uYccuQl7NPaEeldY++ZIhF9QAIiB03ycVOrm6KsNRgXzgwPDivnoHh4Xuj 47YviuTJJwOdH6htoQChC+Je11ZHZP7E8Oa4S2eTrMhGLetovdk1GLxZQ+8KMhdSyVEX MoJdEaW+Z3NGdVRFoDbYJZaLImR2TbcH5HysE= Received: by 10.142.232.20 with SMTP id e20mr2826130wfh.134.1213696918246; Tue, 17 Jun 2008 03:01:58 -0700 (PDT) Received: by 10.142.81.5 with HTTP; Tue, 17 Jun 2008 03:01:58 -0700 (PDT) Message-ID: <7e270cea0806170301n21e26ee4p5a76b18e1aae998b@mail.gmail.com> Date: Tue, 17 Jun 2008 12:01:58 +0200 Sender: chx1975@gmail.com To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: bc8c1fa76a000d9b Subject: PHP RFC: closures From: karoly@negyesi.net ("Karoly Negyesi") Hi, Let me introduce myself (as much as pertains to this letter): I am one of the lead developers of Drupal core (Drupal, I believe, is quite well known by now), I maintain the form API and the menu system. I do not know much about PHP internals, but I spent most of the awake time in the last four years writing code in PHP. I can't wait to have lambda and closures in PHP. I am well aware of the fact that it will be many years before we can raise the minimum PHP version of Drupal to 5.3 but if we do not start now then it will be even later :) Just a real life quick example, http://api.drupal.org/api/function/_filter_url_parse_full_links/6 has no reason to exist, it should be lambda, it's called from preg_replace_callback only. So: a resounding yes. Regards Karoly Negyesi