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

From: Date: Mon, 31 Oct 2016 16:26:47 +0000
Subject: Re: Allow Iterator to be used with current, next, reset, key functions
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-96675@lists.php.net to get a copy of this message
On 10/30/2016 10:19 AM, Rowan Collins wrote:
- deprecate reset(), end(), each(), and key() - introduce array_first(), array_last(), array_first_key() and array_last_key() - document replacements for whatever other use cases we can find examples of
As a user I certainly like those names better. Semantic function names are a definite win in my view.

« previous php.internals (#96675) next »