Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53755 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88883 invoked from network); 6 Jul 2011 05:29:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2011 05:29:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.42 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:56111] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DC/41-16504-CA2F31E4 for ; Wed, 06 Jul 2011 01:29:17 -0400 Received: by vwl1 with SMTP id 1so5315923vwl.29 for ; Tue, 05 Jul 2011 22:29:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=j4AryGjYui5MK5j2cBVlp7kzTc7B9E2GCuPel3xe6+o=; b=lT9owRFut7jV/xirppU027lKlOa5VA6E8p2Jjz3xOlGu5cvUTd6UQxhbIJ4XAmkMpr v9uZlVUq0IHvuhDUn6LytTQ31hmtv5moKtFN/9bj+K552OmwZHy2MegIaD+F9HpRs7I/ PDJWV6LKiATTrqLUUQGOAgaBE3lDWvVygCsb8= MIME-Version: 1.0 Received: by 10.220.8.198 with SMTP id i6mr2887968vci.230.1309930153344; Tue, 05 Jul 2011 22:29:13 -0700 (PDT) Received: by 10.220.95.5 with HTTP; Tue, 5 Jul 2011 22:29:13 -0700 (PDT) Date: Wed, 6 Jul 2011 13:29:13 +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 Subject: foreach statement add list supporting From: laruence@gmail.com (Xinchen Hui) Hi: T_LIST is not allowed to used with foreach before. and then there comes a freature request: #10203 allow foreach($array as list($a,$b) I have work on it, and now submit patch to internal. I have set up a rfc page in wiki.php.net: https://wiki.php.net/foreachlist do you think this can be involved in PHP-5.4.0? ps: sorry for my english. thanks -- Xinchen Hui Laruence http://www.laruence.com