Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:65938 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38979 invoked from network); 19 Feb 2013 13:15:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2013 13:15:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.54 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.219.54 mail-oa0-f54.google.com Received: from [209.85.219.54] ([209.85.219.54:34769] helo=mail-oa0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/53-17768-8FA73215 for ; Tue, 19 Feb 2013 08:15:37 -0500 Received: by mail-oa0-f54.google.com with SMTP id n12so6835430oag.27 for ; Tue, 19 Feb 2013 05:15:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=a2Ld/gIgDb4g9T7WfoA0Q9dKTyy0vKglk9PZh2mErDU=; b=n8Kk9/YJFsiUnWc0dqtAEt4O7UgSMUmchhtedIVr9r77Np7Z1ThgQbCes6vKtu3qHE 2kwH15XNZT2aPhfRAVTYPzNsZVxzNB/PAtvFLQ482CaXfYjTYqBHirlGqJ6gBGwZZ8JV 0gj/YtyvRd0tmP02BnMeSrYfr29K1LVXbgkwYp4hKWA1IYNWRwnFcuGa04EYQjGhCyEx dGM4lq2FJBd8Vc2FYac4bVs/am5Vg2YKAAVVnyhIshZN3WrJFmcn6Hoo51HueRTlasvI 7XycDO0J0C/4O2n5T2zrpgocQXcz2UE8pjHxLosVk559Pdq1Ul6/aS1Dwt9fEasy5J5j M0gw== MIME-Version: 1.0 X-Received: by 10.60.0.129 with SMTP id 1mr3990371oee.5.1361279733512; Tue, 19 Feb 2013 05:15:33 -0800 (PST) Received: by 10.182.49.136 with HTTP; Tue, 19 Feb 2013 05:15:33 -0800 (PST) Date: Tue, 19 Feb 2013 14:15:33 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=e89a8fb20486f4bb2e04d613a2e8 Subject: [RFC] Allow non-scalar keys in foreach From: nikita.ppv@gmail.com (Nikita Popov) --e89a8fb20486f4bb2e04d613a2e8 Content-Type: text/plain; charset=ISO-8859-1 Hi internals! This RFC proposes to remove the type-restrictions on Iterator keys used in foreach: https://wiki.php.net/rfc/foreach-non-scalar-keys I took over Levi's RFC and added a patch for it. Thoughts? Nikita --e89a8fb20486f4bb2e04d613a2e8--