[RFC] Allow "use( $longname as $alias)" syntax for closures declaration
| From: | Laruence | Date: | Thu, 12 Apr 2012 15:38:21 +0000 |
| Subject: | [RFC] Allow "use( $longname as $alias)" syntax for closures declaration | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-59791@lists.php.net to get a copy of this message | ||
Hi:
I have made a RFC to allow user use T_AS in the closure declaration, like:
function () use($long as $l, &$long as $r) {
}
here is the RFC: https://wiki.php.net/rfc/useas
any ideas? thanks
--
Laruence Xinchen Hui
http://www.laruence.com/