"a+"ppend notes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185440 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
anatoly techtonik 2005-04-29 10:46:50 +00:00
parent 29f5189c5c
commit bdbfbde58c
2 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fseek">
<refnamediv>
@ -69,6 +69,12 @@ fseek($fp, 0);
The <parameter>whence</parameter> argument was added after PHP 4.0.0.
</para>
</note>
<note>
<para>
If you have opened the file in append ("a" or "a+") mode, any data you write
to the file will always be appended, regardless of the file position.
</para>
</note>
<para>
See also <function>ftell</function> and
<function>rewind</function>.

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.rewind">
<refnamediv>
@ -25,7 +25,7 @@
</para>
<note>
<para>
If you have opened the file in append ("a") mode, any data you write
If you have opened the file in append ("a" or "a+") mode, any data you write
to the file will always be appended, regardless of the file position.
</para>
</note>