Re: [PHP-DEV] php-src/TODO foreach-enhancements

2004-05-03 Thread Derick Rethans
On Sun, 2 May 2004, Markus Fischer wrote: > * Allow foreach ($array as $k => &$val) syntax. right now we cannot > traverse an array without copying each element. Works in PHP 5. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] php-src/TODO foreach-enhancements

2004-05-02 Thread Wez Furlong
The latter of these is in PHP 5 afair. --Wez. - Original Message - From: "Markus Fischer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 02, 2004 10:17 AM Subject: [PHP-DEV] php-src/TODO foreach-enhancements > Hi, > > has anyo

[PHP-DEV] php-src/TODO foreach-enhancements

2004-05-02 Thread Markus Fischer
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 elem