From bdbfbde58ca456925ae57138e3872e5ea9737fd8 Mon Sep 17 00:00:00 2001 From: anatoly techtonik Date: Fri, 29 Apr 2005 10:46:50 +0000 Subject: [PATCH] "a+"ppend notes git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185440 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fseek.xml | 8 +++++++- reference/filesystem/functions/rewind.xml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/reference/filesystem/functions/fseek.xml b/reference/filesystem/functions/fseek.xml index 2b82610236..9d57006416 100644 --- a/reference/filesystem/functions/fseek.xml +++ b/reference/filesystem/functions/fseek.xml @@ -1,5 +1,5 @@ - + @@ -69,6 +69,12 @@ fseek($fp, 0); The whence argument was added after PHP 4.0.0. + + + 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. + + See also ftell and rewind. diff --git a/reference/filesystem/functions/rewind.xml b/reference/filesystem/functions/rewind.xml index 61f18ce1df..d33272a4be 100644 --- a/reference/filesystem/functions/rewind.xml +++ b/reference/filesystem/functions/rewind.xml @@ -1,5 +1,5 @@ - + @@ -25,7 +25,7 @@ - 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.