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

From: Date: Tue, 01 Nov 2016 05:45:20 +0000
Subject: Re: Allow Iterator to be used with current, next, reset, key functions
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-96689@lists.php.net to get a copy of this message
Hi Larry, On Tue, Nov 1, 2016 at 6:49 AM, Larry Garfield <larry@garfieldtech.com> wrote: > Might it make sense then to have > > first(iterable) > first_key(iterable) > array_last(array) > array_last_key(array) array_ prefix is required for all new array functions, IMHO. I don't have strong opinion for iter_ prefix for now, but if iter_ prefix is used, it should be used consistently. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#96689) next »