History log of /php-src/ext/standard/tests/file/bug52335.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# ba9650d6 27-Aug-2023 Jakub Zelenka

Fix bug #52335 (fseek() on memory stream behavior different then file)

This changes memory stream to allow seeking past end which makes it the
same as seeking on files. It means the posi

Fix bug #52335 (fseek() on memory stream behavior different then file)

This changes memory stream to allow seeking past end which makes it the
same as seeking on files. It means the position is allowed to be higher
than the string length. The size only increases if data is appended to
the past position. The space between the previous string and position
is filled with zero bytes.

Fixes GH-9441
Closes GH-12058

show more ...