On Sun, Oct 30, 2016 at 7:30 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > On Sun, Oct 30, 2016 at 8:24 PM, Rasmus Schultz <ras...@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 > yohg...@ohgaki.net
Are you after the last value, the last key, or both? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php