mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Note that in order to use a negative offset to count from the end of
the file, you must specify SEEK_END in the 'whence' parameter. Addresses bug #47371. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288029 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
1d625605fe
commit
c889127223
1 changed files with 4 additions and 2 deletions
|
@ -40,8 +40,10 @@
|
|||
The offset.
|
||||
</para>
|
||||
<para>
|
||||
To move to a position before the end-of-file, you need to pass a negative
|
||||
value in <parameter>offset</parameter>.
|
||||
To move to a position before the end-of-file, you need to pass
|
||||
a negative value in <parameter>offset</parameter> and
|
||||
set <parameter>whence</parameter>
|
||||
to <constant>SEEK_END</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue