Re: Allow Iterator to be used with current, next, reset, key functions

From: Date: Sun, 30 Oct 2016 13:30:44 +0000
Subject: Re: Allow Iterator to be used with current, next, reset, key functions
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-96652@lists.php.net to get a copy of this message
On Sun, Oct 30, 2016 at 8:24 PM, Rasmus Schultz <rasmus@mindplay.dk> 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

« previous php.internals (#96652) next »