Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61402 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 416 invoked from network); 18 Jul 2012 14:50:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jul 2012 14:50:16 -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.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:58362] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/3C-39169-62DC6005 for ; Wed, 18 Jul 2012 10:50:14 -0400 Received: by vcbgb30 with SMTP id gb30so357550vcb.29 for ; Wed, 18 Jul 2012 07:50:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=0gw9DP1WFdbRLUHhJBMlfjFmbarZ/WRYU0zDu8eyH+4=; b=p76hVG8SeK4ObTE7g4UxSDocLUuyF99+tq08TnzsLaGw01AuY6izM/AiG+vz0ZKuhp uGwWJ162BFqz0GMqzWWK70YfTsgiVm8a0lCA2LlVcM8IYEWnD83UNjm8teBZi9V3i+uv rIoubvKwR6leLNnMsS/XIUFFSHvTWHPawbINQs8B8ZjK/SZy8D4qZZwW/zkVw64Iwafi rQnKCdpq9F6dL3sbYmVT0siYVgXO0GF159JyMuglnWYETwfELnM9yUUTsJ1rfTjI4cdn nwUcfpqQAWpb/tDj3Ggx7+p0cDiQvPxIaJXZl1PXZHolgJKoS12CfTa96uqkW/iw2WP4 Jp3g== Received: by 10.52.17.207 with SMTP id q15mr856657vdd.49.1342623010790; Wed, 18 Jul 2012 07:50:10 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.221.11.74 with HTTP; Wed, 18 Jul 2012 07:49:50 -0700 (PDT) Date: Wed, 18 Jul 2012 22:49:50 +0800 X-Google-Sender-Auth: AhIGyMJfVST3TvsKCLH-ecxCROI Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: [RFC] foreach_variable supporting T_LIST From: laruence@php.net (Laruence) Hi: this is not a new RFC, I proposed it before, but due to my poor english and improper examples, it didn't get passed. This feature introduces list() support in foreach constructs(more info can be found here: https://wiki.php.net/rfc/foreachlist): what do you think? personally, I really think it's a good feature. what about commit this into trunk(php 5.5) ? thanks -- Laruence Xinchen Hui http://www.laruence.com/