On Tue, Sep 29, 2015 at 10:23 AM, Dan Ackroyd <dan...@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