Re: [RFC] Closure::call and Function Referencing as Closures
| From: | Nikita Nefedov | Date: | Mon, 04 Aug 2014 05:48:08 +0000 |
| Subject: | Re: [RFC] Closure::call and Function Referencing as Closures | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-76329@lists.php.net to get a copy of this message | ||
Hey Andrea,
I really love function referencing RFC, this is something I miss in PHP and would I have a voting right I'd would +1 even in this state of it.
But I dislike a bit the fact that we start to use Closure for everything, I really wish we had a dedicated type for functions (read functions as a first-class citizens).
On Mon, 04 Aug 2014 01:50:55 +0400, Andrea Faulds <ajf@ajf.me> wrote:
Good evening, I am proposing two new RFCs. As they are both inter-related and complementary, with the second having the first as a prerequisite, I’m making just a single email to cover both: https://wiki.php.net/rfc/closure_apply https://wiki.php.net/rfc/function_referencing Both have written, tested and working patches aimed for master. Thoughts appreciated, thanks. -- Andrea Faulds http://ajf.me/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php