From f668f7feffad7042c5b5c7a9686b046438ec6dcf Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 18 Oct 2010 01:59:58 +0000 Subject: [PATCH] Fix doc bug #53088 (fseek: Second note section ends with same text as first). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@304462 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/filesystem/functions/fseek.xml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/reference/filesystem/functions/fseek.xml b/reference/filesystem/functions/fseek.xml index 05b42938d5..46b5454c4a 100644 --- a/reference/filesystem/functions/fseek.xml +++ b/reference/filesystem/functions/fseek.xml @@ -101,16 +101,17 @@ fseek($fp, 0); &reftitle.notes; - 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. + 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, and the result of calling + fseek will be undefined. - May not be used on file pointers returned by - fopen if they use the "http://" or "ftp://" - formats. fseek gives also undefined results for - append-only streams (opened with "a" flag). + May not be used on file pointers returned by fopen if + they use the http:// or ftp:// + schemes.