Re: Implement SeekableIterator for SplObjectStorage

From: Date: Sun, 10 Mar 2024 20:43:55 +0000
Subject: Re: Implement SeekableIterator for SplObjectStorage
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-122605@lists.php.net to get a copy of this message
On Sun, Mar 10, 2024 at 9:14 PM Niels Dossche <dossche.niels@gmail.com> wrote: > I opened a PR to make SplObjectStorage implement SeekableIterator, this means that it'll > now be possible to use seek(int $offset): void on SplObjectStorage Note that it's a BC break for descendants of SplObjectStorage with an incompatible seek() already implemented (e.g. https://3v4l.org/uW9Yl), so it shouldn't happen in a patch release. Not that I expect there to be many of those, but still. -- Best regards, Bruce Weirdan mailto:weirdan@gmail.com

« previous php.internals (#122605) next »