Re: [RFC] Alternative "use" syntax for Closures
| From: | Wes | Date: | Sat, 15 Jun 2019 23:47:44 +0000 |
| Subject: | Re: [RFC] Alternative "use" syntax for Closures | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105946@lists.php.net to get a copy of this message | ||
Hi Kalle. I hope it's feasible. Unfortunately I don't know much about
internals. Any info on the matter would be very appreciated, though :P
Anyway, if we can scan the function body to complain about
return null;
when the function is :void, surely we can scan just the very top of the
function body to read the imports :P