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
This commit is contained in:
Christoph Michael Becker 2020-09-08 11:21:55 +00:00
parent 28abaa892f
commit 70528fcff5

View file

@ -46,6 +46,13 @@
<member><constant>SEEK_END</constant> - Set position to end-of-file plus <parameter>offset</parameter>.</member>
</simplelist>
</para>
<note>
<simpara>
The current implementation never sets <parameter>whence</parameter> to
<constant>SEEK_CUR</constant>; instead such seeks are internally converted
to <constant>SEEK_SET</constant> seeks.
</simpara>
</note>
</listitem>
</varlistentry>
</variablelist>