[RFC] Draft - Closure self reference
| From: | Dan Ackroyd | Date: | Tue, 10 Nov 2020 17:08:55 +0000 |
| Subject: | [RFC] Draft - Closure self reference | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-112216@lists.php.net to get a copy of this message | ||
Hello internals,
For reasons, I was reviewing the conversation where adding closures to
PHP was added, and it reminded me that currently the only way for a
closure to call itself is slightly terribly, so I drafted an RFC:
https://wiki.php.net/rfc/closure_self_reference
Before I spend time on it, is there any strong reason why this is a bad idea?
cheers
Dan
Ack