Req #10203 [Asn->Csd]: allow foreach($array as list($a,$b)
| From: | laruence@php.net | Date: | Fri, 21 Sep 2012 12:40:00 +0000 |
| Subject: | Req #10203 [Asn->Csd]: allow foreach($array as list($a,$b) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173608@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=10203&edit=1
ID: 10203
Updated by: laruence@php.net
Reported by: jack at mobil dot cz
Summary: allow foreach($array as list($a,$b)
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: Scripting Engine problem
Operating System: *
PHP Version: *
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Implemented in php-trunk. https://wiki.php.net/rfc/foreachlist
Previous Comments:
------------------------------------------------------------------------
[2011-08-19 11:57:44] laruence@php.net
since the RFC didn't win the vote, change the status to suspended.
------------------------------------------------------------------------
[2011-07-06 08:15:55] laruence@php.net
The following patch has been added/updated:
Patch Name: php-5.4.0svn-add-foreach-list-support.patch
Revision: 1309954555
URL: https://bugs.php.net/patch-display.php?bug=10203&patch=php-5.4.0svn-add-foreach-list-support.patch&revision=1309954555
------------------------------------------------------------------------
[2011-07-06 01:35:43] laruence@php.net
I am working on this now, add firsh patch is submitted.
------------------------------------------------------------------------
[2011-07-06 01:34:10] laruence@php.net
The following patch has been added/updated:
Patch Name: php-5.4.0-alpha1-foreach-list-diff.patch
Revision: 1309930450
URL: https://bugs.php.net/patch-display.php?bug=10203&patch=php-5.4.0-alpha1-foreach-list-diff.patch&revision=1309930450
------------------------------------------------------------------------
[2002-01-29 04:19:59] yohgaki@php.net
It's in TODO already :)
Someone might implement it, but I guess it's not anytime soon.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=10203
--
Edit this bug report at https://bugs.php.net/bug.php?id=10203&edit=1