[RFC] foreach_variable supporting T_LIST token
| From: | Xinchen Hui | Date: | Wed, 06 Jul 2011 09:45:43 +0000 |
| Subject: | [RFC] foreach_variable supporting T_LIST token | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-53757@lists.php.net to get a copy of this message | ||
Hi:
T_LIST is not allowed to used with foreach before.
and then there comes a freature request: #10203 allow
foreach($array as list($a,$b)
I have work on it, and now submit patch to internal.
I have set up a rfc page in wiki.php.net:
https://wiki.php.net/rfc/foreachlist
do you think this can be involved in PHP-5.4.0?
ps: sorry for my poor english. and this was a re-post with title changed.
thanks
--
Xinchen Hui Laruence
http://www.laruence.com