vrana Fri Jan 13 11:00:19 2006 UTC
Modified files: /phpdoc/en/reference/filesystem/functions fread.xml Log: Userspace streams limits to 8K (bug #35859) http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/filesystem/functions/fread.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc/en/reference/filesystem/functions/fread.xml diff -u phpdoc/en/reference/filesystem/functions/fread.xml:1.19 phpdoc/en/reference/filesystem/functions/fread.xml:1.20 --- phpdoc/en/reference/filesystem/functions/fread.xml:1.19 Mon Jan 9 15:24:53 2006 +++ phpdoc/en/reference/filesystem/functions/fread.xml Fri Jan 13 11:00:19 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> +<!-- $Revision: 1.20 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.25 --> <refentry id="function.fread"> <refnamediv> @@ -18,8 +18,9 @@ <parameter>length</parameter> bytes from the file pointer referenced by <parameter>handle</parameter>. Reading stops when up to <parameter>length</parameter> bytes have been read, EOF - (end of file) is reached, or (for network or userspace streams) when a - packet becomes available, whichever comes first. + (end of file) is reached, (for network streams) when a packet becomes + available, or (for userspace streams) when 8192 bytes have been read + whichever comes first. </simpara> <simpara> Returns the read string or &false; in case of error.