History log of /PHP-8.0/ext/spl/tests/bug81477.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# 79a28324 05-Jul-2022 George Peter Banyard

Revert "Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject"

Although the fix is partially correct it also breaks long standing behaviour which has been produced

Revert "Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject"

Although the fix is partially correct it also breaks long standing behaviour which has been produced since PHP 5.3.

This reverts commit 6f87a5c6338d0d64d18e3a44b65c19acc9c529e8.

show more ...


# 6f87a5c6 27-May-2022 George Peter Banyard

Fix GH-8563 Different results for seek() on SplFileObject and SplTempFileObject

With memory streams if we get a NULL buffer we must not instantiate an empty line


# ee5711de 27-Sep-2021 Christoph M. Becker

Fix #81477: LimitIterator + SplFileObject regression in 8.0.1

We must not free the read line, if the `READ_AHEAD` flag is set. This
also restores the expectations of SplFileObject_next_

Fix #81477: LimitIterator + SplFileObject regression in 8.0.1

We must not free the read line, if the `READ_AHEAD` flag is set. This
also restores the expectations of SplFileObject_next_variation002.phpt.

Closes GH-7518.

show more ...