foreach statement add list supporting
| From: | Xinchen Hui | Date: | Wed, 06 Jul 2011 05:29:13 +0000 |
| Subject: | foreach statement add list supporting | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-53755@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/foreachlist
do you think this can be involved in PHP-5.4.0?
ps: sorry for my english.
thanks
--
Xinchen Hui Laruence
http://www.laruence.com