Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53757 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29940 invoked from network); 6 Jul 2011 09:46:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2011 09:46:05 -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:57118] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/37-16504-ACE241E4 for ; Wed, 06 Jul 2011 05:45:46 -0400 Received: by vxi39 with SMTP id 39so5399646vxi.29 for ; Wed, 06 Jul 2011 02:45:43 -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=hOKyGwxsHXk5geaVjgUipqTIt/gIIqF2krlK7f6I3xg=; b=oIKgj7QKmiKgUE4bUa9q7rsnjGL7Pd+wKALzjHXbkdAVtaOaLM4+DBbspJiD64C2/9 N220//vF9j0WtWZyISK0jF7AAAPJL2H5Z3V0YCBsGp/J+nCHOnqwPQnQ9TTiz8YjHuIg iE7R2f1JHf+F60x7a0guCvp7OB7McCPkimArE= MIME-Version: 1.0 Received: by 10.220.95.21 with SMTP id b21mr2886253vcn.195.1309945543092; Wed, 06 Jul 2011 02:45:43 -0700 (PDT) Received: by 10.220.95.5 with HTTP; Wed, 6 Jul 2011 02:45:43 -0700 (PDT) Date: Wed, 6 Jul 2011 17:45:43 +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: [RFC] foreach_variable supporting T_LIST token 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/rfc/foreachlist do you think this can be involved in PHP-5.4.0? ps: sorry for my poor english. and this was a re-post with title changed. thanks -- Xinchen Hui Laruence http://www.laruence.com