Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76364 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35329 invoked from network); 5 Aug 2014 17:51:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Aug 2014 17:51:36 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.51 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.51 mail-qa0-f51.google.com Received: from [209.85.216.51] ([209.85.216.51:60565] helo=mail-qa0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/E0-29537-7A911E35 for ; Tue, 05 Aug 2014 13:51:35 -0400 Received: by mail-qa0-f51.google.com with SMTP id k15so1289382qaq.10 for ; Tue, 05 Aug 2014 10:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=FUbe1ZMdKAaIpIWA6Sp1QemcqKQ88qx+jTjoWXUJyCQ=; b=nij6lhDYqHZqmqnYCfvstj+BrvBuEKYHK8lOu57CZ5JYkoVmauzuUjtZVMcXtZyFhV FG0z06hjt4sj3HQbgJGYsUUSsDZizJ6Z+zrQ39Xb09hdVweDZc3+Av6+c1MMiuR8O7dH fjHM+Swv197hAam8PChLIy+1OnuZjZUZccRX/HHW1AtZY8vxOn/ptRT7QGRK5tevrRoI F6z8VjTwqDSaUwWpOp6JKh+Rc6A0JID9vRS1uM2wVt6s42t8KPpW1PQoTgOUR71PJfgA oHTpUirb9mAT6CnBi8P0z0ABNO6sCxk0Mqnmnf1e5H3dMDRLkMtfyoMnKfIfg+k2fq6E 3ieQ== MIME-Version: 1.0 X-Received: by 10.140.105.72 with SMTP id b66mr484174qgf.30.1407261117918; Tue, 05 Aug 2014 10:51:57 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Tue, 5 Aug 2014 10:51:57 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Tue, 5 Aug 2014 10:51:57 -0700 (PDT) In-Reply-To: <8C233BCE-D49E-48CB-B5F9-A96DD9732161@ajf.me> References: <53E0F651.1020101@ralphschindler.com> <53E0FFF2.3050803@ralphschindler.com> <8C233BCE-D49E-48CB-B5F9-A96DD9732161@ajf.me> Date: Tue, 5 Aug 2014 19:51:57 +0200 Message-ID: To: Andrea Faulds Cc: Marco Pivetta , Ralph Schindler , PHP Internals List Content-Type: multipart/alternative; boundary=001a1137d3580a351304ffe58394 Subject: Re: [PHP-DEV] [RFC] Closure::call and Function Referencing as Closures From: pierre.php@gmail.com (Pierre Joye) --001a1137d3580a351304ffe58394 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Aug 5, 2014 7:41 PM, "Andrea Faulds" wrote: > > > On 5 Aug 2014, at 18:40, Pierre Joye wrote: > > > On Aug 5, 2014 6:40 PM, "Andrea Faulds" wrote: > > > Side note, but that=E2=80=99s because __invoke on Closure doesn=E2=80= =99t actually exist. It=E2=80=99s a method that is created by trying to access it and cea= ses to exist once called. Freaky, right? > > > > Do you have an example where this feature could be very helpful? This exact feature? > > What, __invoke existing? I have no idea, I assume it exists for completeness. For your RFC, given other solutions, i fail to find one. --001a1137d3580a351304ffe58394--