Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53756 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3866 invoked from network); 6 Jul 2011 07:11:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2011 07:11:34 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:63417] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E7/53-16504-3AA041E4 for ; Wed, 06 Jul 2011 03:11:32 -0400 Received: by vxi39 with SMTP id 39so5331036vxi.29 for ; Wed, 06 Jul 2011 00:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=n43MmUcUK+Pmde29JzSPtXrKudCmaW3cWT2SwvPTBI4=; b=eOLRnHi7C9adWUVDJxjPLIrxsMk5x5SiY1W5Jo8kBcdwVsBpxKcMmJPVDNn7rXAAuk BVJQOWD8Nr/LDqFUetqGl3/4WQg/4q44VDL5WbK6WCGfdUClQyMCaFLq6BqptZ37i+LC AwE3BZ+Dvybmd7SLBCRymMxuH7Ai3mK/YSHhw= MIME-Version: 1.0 Received: by 10.220.183.71 with SMTP id cf7mr2120069vcb.160.1309936288775; Wed, 06 Jul 2011 00:11:28 -0700 (PDT) Received: by 10.220.95.5 with HTTP; Wed, 6 Jul 2011 00:11:28 -0700 (PDT) In-Reply-To: References: Date: Wed, 6 Jul 2011 15:11:28 +0800 Message-ID: To: internals@lists.php.net Cc: Pierre Joye , =?UTF-8?Q?Johannes_Schl=C3=BCter?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: foreach statement add list supporting From: laruence@gmail.com (Xinchen Hui) Hi: RFC was moved to https://wiki.php.net/rfc/foreachlist. sorry for previous wrong folder rfc page, I have deleted previous one. thanks 2011/7/6 Xinchen Hui : > Hi: > =C2=A0 =C2=A0T_LIST is not allowed to used with foreach before. > > =C2=A0 =C2=A0and then there comes a freature request: =C2=A0#10203 =C2=A0= allow > foreach($array as list($a,$b) > > =C2=A0 =C2=A0I have work on it, and now submit patch to internal. > > =C2=A0 =C2=A0I have set up a rfc page in wiki.php.net: https://wiki.php.n= et/foreachlist > > =C2=A0 =C2=A0do you think this can be involved =C2=A0in PHP-5.4.0? > > =C2=A0 =C2=A0ps: sorry for my english. > > thanks > > -- > Xinchen Hui =C2=A0 =C2=A0 Laruence > http://www.laruence.com > --=20 =E6=83=A0=E6=96=B0=E5=AE=B8=C2=A0 =C2=A0 =C2=A0 =C2=A0 laruence Senior PHP Engineer http://www.laruence.com