Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24902 invoked from network); 30 Oct 2016 13:31:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Oct 2016 13:31:41 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@ohgaki.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@ohgaki.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ohgaki.net designates 180.42.98.130 as permitted sender) X-PHP-List-Original-Sender: yohgaki@ohgaki.net X-Host-Fingerprint: 180.42.98.130 ns1.es-i.jp Received: from [180.42.98.130] ([180.42.98.130:52874] helo=es-i.jp) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 11/52-25911-736F5185 for ; Sun, 30 Oct 2016 08:31:39 -0500 Received: (qmail 60600 invoked by uid 89); 30 Oct 2016 13:31:32 -0000 Received: from unknown (HELO mail-wm0-f44.google.com) (yohgaki@ohgaki.net@74.125.82.44) by 0 with ESMTPA; 30 Oct 2016 13:31:32 -0000 Received: by mail-wm0-f44.google.com with SMTP id n67so186540961wme.1 for ; Sun, 30 Oct 2016 06:31:32 -0700 (PDT) X-Gm-Message-State: ABUngvdIwTTSocThb5rEk8FxOrOovEIck/h0/Ck12meWf10GaOLrLlknyiLgKgJQCADQ/fjxSWzuwiBLluXdtA== X-Received: by 10.28.73.214 with SMTP id w205mr7159118wma.86.1477834285370; Sun, 30 Oct 2016 06:31:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.205.42 with HTTP; Sun, 30 Oct 2016 06:30:44 -0700 (PDT) In-Reply-To: References: <44244cfd-c8ad-e0a9-4e70-380a8a8c940c@syberisle.net> Date: Sun, 30 Oct 2016 22:30:44 +0900 X-Gmail-Original-Message-ID: Message-ID: To: Rasmus Schultz Cc: Nikita Popov , Levi Morrison , 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: yohgaki@ohgaki.net (Yasuo Ohgaki) On Sun, Oct 30, 2016 at 8:24 PM, Rasmus Schultz wrote: > I'd like to just remind you of the fact that some > of these functions, reset() and end() in particular, are often used > not because someone cares about moving the internal pointer, but as a > means of getting the first/last items of an array. I'm one of them. -- Yasuo Ohgaki yohgaki@ohgaki.net