Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88630 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74076 invoked from network); 2 Oct 2015 00:38:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Oct 2015 00:38:20 -0000 Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.172 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:33312] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/F0-03039-AF1DD065 for ; Thu, 01 Oct 2015 20:38:19 -0400 Received: by wiclk2 with SMTP id lk2so13068124wic.0 for ; Thu, 01 Oct 2015 17:38:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=DYwAXB8vcL1bHohs+n35QMwy+OvxKC3H9Dp6AYzxDp8=; b=Fp9K8r6OBfPkUJXKEjtGG0C/Hg2IxXn/RNC4zkxJQD32F+ip6g7ZCgnvfitvO4AYYk EXqPZiYzXZfMK9x0dJoeoBewwEVKg7iM1h/25leMtIKjuxFS5J1/CrLxA6eH8eXfFETF YXfmu8wMQKIDXV9bcyz7O+Y4RVakDbquGxS7jneDCjoNIOqdbcPVttKBO63F+jt8oWQq W75kQ+MUuhFeVztru1yXrDbLfL31JsV05vSYUYa0GsTOTDT7FJ35nLAZCutgq3Xsq4KQ 63jMWpI65n6kHzs37+Z2YeL67GW6TT3wJssvJl/x/z/uVS3ZitLrrCXZJvuXEs2eDsHH nLnQ== MIME-Version: 1.0 X-Received: by 10.194.92.166 with SMTP id cn6mr13266303wjb.6.1443746296131; Thu, 01 Oct 2015 17:38:16 -0700 (PDT) Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.194.110.72 with HTTP; Thu, 1 Oct 2015 17:38:16 -0700 (PDT) In-Reply-To: References: Date: Thu, 1 Oct 2015 20:38:16 -0400 X-Google-Sender-Auth: lBz0JRU6mg7BwLjKhCgeWGg1e34 Message-ID: To: Dan Ackroyd Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7bd91acc20799e0521146186 Subject: Re: [PHP-DEV] [RFC] [DISCUSSION]: Closure from callable From: bishop@php.net (Bishop Bettini) --047d7bd91acc20799e0521146186 Content-Type: text/plain; charset=UTF-8 On Tue, Sep 29, 2015 at 10:23 AM, Dan Ackroyd wrote: > Hello internals, > > I'd like to start a discussion of a proposal to allow closures to be > created in user-land without having to use a whole lot of reflection > code. > > https://wiki.php.net/rfc/closurefromcallable > > Thanks to Joe and Bob for the assistance in the patch. > Yes, but with one question: should it be named "reflection_closure"? (I don't like that, but:) the user-land rules [1] say it will begin with the extension name, and the coding standards [2] say it will if it's part of a parent set. Maybe put it in core instead of reflection extension. Or, since ext/reflection doesn't have any functions, we can bypass it. [1]: http://php.net/manual/en/userlandnaming.rules.php [2]: https://github.com/php/php-src/blob/master/CODING_STANDARDS#L110 --047d7bd91acc20799e0521146186--