Doc #51200 [Opn->Csd]: file_get_contents() and "offset" & "length" misunderstanding
| From: | kalle@php.net | Date: | Thu, 18 Mar 2010 17:36:09 +0000 |
| Subject: | Doc #51200 [Opn->Csd]: file_get_contents() and "offset" & "length" misunderstanding | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4074@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=51200&edit=1
ID: 51200
Updated by: kalle@php.net
Reported by: slspam at land dot ru
Summary: file_get_contents() and "offset" & "length"
misunderstanding
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows
PHP Version: 5.2.13
-Assigned To:
+Assigned To: kalle
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2010-03-18 18:36:02] kalle@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=296352
Log: Fixed bug #51200 (file_get_contents() and "offset" &
"length" misunderstanding)
------------------------------------------------------------------------
[2010-03-03 18:49:16] slspam at land dot ru
Description:
------------
Confusing thing appears when reading data with using stream filters. I
discovered that "offset" is applied to original stream, while "maxlen"
is applied to the stream processed by filter(s). Please, update
documentation and remove the following partly incorrect online note:
http://ru.php.net/manual/en/function.file-get-contents.php#96499
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=51200&edit=1