Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9628 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62314 invoked by uid 1010); 2 May 2004 09:17:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62290 invoked from network); 2 May 2004 09:17:52 -0000 Received: from unknown (HELO sunshine.home) (80.108.136.197) by pb1.pair.com with SMTP; 2 May 2004 09:17:52 -0000 Received: from mfischer by sunshine.home with local (Exim 4.31) id 1BKD6d-0006MX-O1 for internals@lists.php.net; Sun, 02 May 2004 11:17:51 +0200 Date: Sun, 2 May 2004 11:17:51 +0200 To: internals@lists.php.net Message-ID: <20040502091751.GA24452@gjat.josefine.at> Mail-Followup-To: Markus Fischer , internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: Vim http://www.vim.org/ X-PGP-Key: 0xC2272BD0 at wwwkeys.eu.pgp.net X-PGP-Fingerprint: D3B0 DD4F E12B F911 3CE1 C2B5 D674 B445 C227 2BD0 User-Agent: Microsoft Outlook Express 5.50.4807.1700.314 X-Spamfilter: Fighting it with http://www.spamassassin.org/ and http://razor.sourceforge.net/ Subject: php-src/TODO foreach-enhancements From: mfischer@gjat.josefine.at (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 element. I'm just curious to know if someone has worked on this recently. cheers, - Markus