From 70528fcff5b182ed42bcdee3acf0bf304896a518 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Tue, 8 Sep 2020 11:21:55 +0000 Subject: [PATCH] Fix #55528: Values for the "whence" parameter of the "stream_seek" method should be changed git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350536 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/stream/streamwrapper/stream-seek.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/stream/streamwrapper/stream-seek.xml b/reference/stream/streamwrapper/stream-seek.xml index 7e66e59359..7054238e1c 100644 --- a/reference/stream/streamwrapper/stream-seek.xml +++ b/reference/stream/streamwrapper/stream-seek.xml @@ -46,6 +46,13 @@ SEEK_END - Set position to end-of-file plus offset. + + + The current implementation never sets whence to + SEEK_CUR; instead such seeks are internally converted + to SEEK_SET seeks. + +