On Tue, Nov 22, 2016 at 6:47 PM, Wes <netmo....@gmail.com> wrote:

> Greetings again PHPeople,
>
> I wanted to avoid the discussion for the small improvements I was proposing
> thinking it would be acceptable to do so (
> http://news.php.net/php.internals/97118) but apparently I was wrong (sorry
> for that), so here's the discussion thread!
>
> https://wiki.php.net/rfc/arrayiterator-improvements
>
> Again this is my first RFC, and I hope I'm doing nothing wrong this time :P
>
> Thanks again,
> Wes
>
> (and special thanks to Room11 for their feedback about the RFC process)
>

What's the reason for making seekKey() return a boolean? The existing
seek() method throws an exception if the seek offset does not exist. It
would make sense to me for seekKey() to throw an exception if the key does
not exist, to keep things consistent.

Nikita

Reply via email to