Re: Brainstorming idea: inline syntax for lexical (captured) variables
| From: | DANIEL VARGAS MUCCILLO | Date: | Fri, 14 Apr 2023 04:39:38 +0000 |
| Subject: | Re: Brainstorming idea: inline syntax for lexical (captured) variables | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120037@lists.php.net to get a copy of this message | ||
Em qui., 13 de abr. de 2023 Ã s 09:40, Nicolas Grekas <
nicolas.grekas+php@gmail.com> escreveu:
>
> I created this draft RFC to help move things forward:
>
>
> https://wiki.php.net/rfc/syntax-to-capture-variables-when-declaring-anonymous-classesçxnj
> L�Âíž«J{²
>
> Please let me know your early thoughts and I'd be happy to move it to
> "under discussion".
> I'd also need someone for the implementation as I doubt I'll be able to
> write it myself in a reasonable time!
>
> Cheers,
> Nicolas
>
Hi Nicolas,
I believe the $b parameter is missing from the first code block on the
Transformation Rules's section.
Good luck with the RFC, I hope it passes.
--
Daniel Vargas Muccillo