Re: [RFC] [DISCUSSION]: Closure from callable

From: Date: Fri, 02 Oct 2015 00:38:16 +0000
Subject: Re: [RFC] [DISCUSSION]: Closure from callable
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88630@lists.php.net to get a copy of this message
On Tue, Sep 29, 2015 at 10:23 AM, Dan Ackroyd <danack@basereality.com> 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

« previous php.internals (#88630) next »