Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9629 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20685 invoked by uid 1010); 2 May 2004 11:11:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 20661 invoked from network); 2 May 2004 11:11:20 -0000 Received: from unknown (HELO mx.thebrainroom.net) (65.200.24.98) by pb1.pair.com with SMTP; 2 May 2004 11:11:20 -0000 Received: by mx.thebrainroom.net (Postfix, from userid 517) id 33E9014880BE; Sun, 2 May 2004 04:11:19 -0700 (PDT) Received: from tron (zaneeb.thebrainroom.net [82.133.1.138]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx.thebrainroom.net (Postfix) with SMTP id 1F22914880B7; Sun, 2 May 2004 04:11:16 -0700 (PDT) Message-ID: <004901c43036$3287bbe0$8a02a8c0@tron> To: "Markus Fischer" , References: <20040502091751.GA24452@gjat.josefine.at> Date: Sun, 2 May 2004 12:11:18 +0100 Organization: The Brain Room Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_30,QUOTED_EMAIL_TEXT,REFERENCES version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) X-TBR-Filter: Virus scanned and defanged Subject: Re: [PHP-DEV] php-src/TODO foreach-enhancements From: wez@thebrainroom.com ("Wez Furlong") The latter of these is in PHP 5 afair. --Wez. ----- Original Message ----- From: "Markus Fischer" To: 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.