Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96642 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94423 invoked from network); 30 Oct 2016 06:50:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Oct 2016 06:50:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.182 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.161.182 mail-yw0-f182.google.com Received: from [209.85.161.182] ([209.85.161.182:36194] helo=mail-yw0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/CD-25911-62895185 for ; Sun, 30 Oct 2016 01:50:14 -0500 Received: by mail-yw0-f182.google.com with SMTP id u124so119501006ywg.3 for ; Sat, 29 Oct 2016 23:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Icl2vORBzKkVnICZ3g6PQ2+7wDJmomYkUec+xZ0CKK8=; b=w2BssJUGbddN1c+jNIVrltajWvNvjl9n9+AwLS9+m1Zcjhmdb3kDnIxWdd6bBJdYMo Rg3Ro+qbLqZY8b/RGDyf/xhK0ISBFR8JrMTD0Fy8P7vgrYk2e4I2ZPsRTZcMvrYJrSLY bHu/wsIy9tZwnRxUECPsjUVmTVq7M0tsFY+mfYFngYAMGGiKBR7KgHrBY2VlH6F7iAgA ib4UhRW8yOiLI3rrU/upzctDyolWAww0CSjZ6jU7TASCgA+WuT/jnpJK0GOH1WTY3/VJ 8QLqo9DAvDPXTSR3VBBogLOX++LAJSHl6NtvqqBybh1uXq5Aho7DpJ7tH06Nvi40nnji 0Vxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Icl2vORBzKkVnICZ3g6PQ2+7wDJmomYkUec+xZ0CKK8=; b=SY1bNvd8jpfvemvzpEz925VZcuidY7TnCkYUQ257wqZtit4IrrCfG/p+HIDPM1IVV7 ZFIFuP2gPBPXn3vy0eaQ//X5dkLxR5uPrvNmOaDtdSL6IAV6dsp6SpTbc8TXYOIgQGMi t7hmU0Ero1Xx7ogP+DciYVanioCVz6sVYP8OFYf+e2Ib+Zg+PT0PSlVO4fofUzbG+yqy +iW85AuoaZPDCmvt+MprBLMWvuVXo0nH5FqL8HWl9ALzRMMeVsW4l9AsKyVrXtn8uErw 0YkbbtezNYTpL3koqKTlyofRSLQINDtLYh1KXick7p0XcmRj4meYlbKWGEWIXxy5RHYN bXDA== X-Gm-Message-State: ABUngvfd1tAaO0aK4bla74hNs5vbvYuuPRzLEDiLbuqy6N7ccOTUwfJ41c9oMxuDETQMt6J6r2781tnY1LX5Fg== X-Received: by 10.13.206.5 with SMTP id q5mr17790308ywd.301.1477810212020; Sat, 29 Oct 2016 23:50:12 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.13.200.3 with HTTP; Sat, 29 Oct 2016 23:50:11 -0700 (PDT) In-Reply-To: References: <44244cfd-c8ad-e0a9-4e70-380a8a8c940c@syberisle.net> Date: Sun, 30 Oct 2016 00:50:11 -0600 X-Google-Sender-Auth: 4aOEMb1-UvDz_iFNK1kq4h7cBj8 Message-ID: To: Pierre Joye Cc: Nikita Popov , David Lundgren , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Allow Iterator to be used with current, next, reset, key functions From: levim@php.net (Levi Morrison) > I also think it is a good thing to clean up the ways to work with > arrays or iterable but we have to be very careful how we do it. I am > not sure an actual deprecation is a good thing in 7.x without breaking > any kind of tests out there. Indeed it will not break code but it is > rather bad to break tests and it is a very annoying thing to do while > trying to be good at using the latest PHP version. I understand the concern here but getting out deprecation notices out early would be more important in my opinion. Additionally when we decided to make PHP 7 our next release we had already released 5.6. I pushed for a 5.7 to allow for deprecation notices as well as more time to develop features for 7.0 but that's not the route we took. I point this out to show that waiting for the last 7.x release is not prudent.