Bug #48006 [Asn->Csd]: [DE] fread() reads up to length bytes
| From: | simp@php.net | Date: | Wed, 05 May 2010 13:40:10 +0000 |
| Subject: | Bug #48006 [Asn->Csd]: [DE] fread() reads up to length bytes | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-4314@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=48006&edit=1
ID: 48006
Updated by: simp@php.net
Reported by: sd at sven-drieling dot de
Summary: [DE] fread() reads up to length bytes
-Status: Assigned
+Status: Closed
Type: Bug
Package: Translation problem
PHP Version: Irrelevant
Assigned To: sammywg
New Comment:
The documentation for this function has been updated to the latest
version of the English documentation. Please allow for a couple of days
for this change to be visible on the website.
Previous Comments:
------------------------------------------------------------------------
[2010-05-05 15:29:14] simp@php.net
Automatic comment from SVN on behalf of simp
Revision: http://svn.php.net/viewvc/?view=revision&revision=299020
Log: Bug #48006 sync fread()-Documentation to EN
------------------------------------------------------------------------
[2009-04-17 13:30:17] sd at sven-drieling dot de
Description:
------------
The .de documentation for fread() is wrong.
Reproduce code:
---------------
fread() liest length Bytes vom Dateizeiger handle . Das Lesen wird
beendet, wenn length Bytes gelesen oder EOF (end of file bzw. Dateiende)
erreicht wurde (was eben früher zutrifft).
Expected result:
----------------
fread() reads up to length bytes from the file pointer referenced by
handle . Reading stops as soon as one of the following conditions is
met:
- length bytes have been read
- EOF (end of file) is reached
- a packet becomes available (for network streams)
- 8192 bytes have been read (after opening userspace stream)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=48006&edit=1