Re: php-src/TODO foreach-enhancements
| From: | Wez Furlong | Date: | Sun, 02 May 2004 11:11:18 +0000 |
| Subject: | Re: php-src/TODO foreach-enhancements | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9629@lists.php.net to get a copy of this message | ||
The latter of these is in PHP 5 afair.
--Wez.
----- Original Message -----
From: "Markus Fischer" <mfischer@gjat.josefine.at>
To: <internals@lists.php.net>
Sent: Sunday, May 02, 2004 10:17 AM
Subject: [PHP-DEV] php-src/TODO foreach-enhancements
> Hi,
>
> has anyone played around with those two subjects from php-src/TODO ?
>
> * Allow foreach ($array as $k => list($a, $b)) syntax for multi
> dimensional arrays.
>
> * Allow foreach ($array as $k => &$val) syntax. right now we cannot
> traverse an array without copying each element.