summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorBishop Bettini <bishop.bettini@gmail.com>2015-09-23 11:14:52 -0400
committerBishop Bettini <bishop.bettini@gmail.com>2015-09-23 11:14:52 -0400
commit368d3ff0d95c79ffdf042fb685bda703c7cb5c12 (patch)
treeba65d92d4642dd98ef3fd50eeee8b436044fc89c /sapi/phpdbg/phpdbg.c
parent4c34d574147d2b23d3e4d8fb454b6102eb2ddfc1 (diff)
downloadphp-git-368d3ff0d95c79ffdf042fb685bda703c7cb5c12.tar.gz
Bug #70561: Fix DirectoryIterator to throw OutOfBoundsException
------------------------------------------------------------------------------- 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.
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
0 files changed, 0 insertions, 0 deletions