Re: foreach statement add list supporting

From: Date: Wed, 06 Jul 2011 07:11:28 +0000
Subject: Re: foreach statement add list supporting
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-53756@lists.php.net to get a copy of this message
Hi: RFC was moved to https://wiki.php.net/rfc/foreachlist. sorry for previous wrong folder rfc page, I have deleted previous one. thanks 2011/7/6 Xinchen Hui <laruence@gmail.com>: > 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 > -- 惠新宸        laruence Senior PHP Engineer http://www.laruence.com

« previous php.internals (#53756) next »