mirror of
https://github.com/php/php-src.git
synced 2026-04-18 13:31:27 +02:00
------------------------------------------------------------------------------- DirectoryIterator implements SeekableIterator, which "should throw an OutOfBoundsException if the position is not seekable". As is, seek just returns and one must call valid(). This approach is different than most (all?) other SeekableIterator implementations and leads to developer confusion. See the bug report for a specific example.
438 B
438 B