note 92100 added to function.fwrite
| From: | xqian at quays dot com | Date: | Wed, 08 Jul 2009 21:54:49 +0000 |
| Subject: | note 92100 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-158082@lists.php.net to get a copy of this message | ||
Is this supposed to be the right behavior of fwrite?
assuming there is a string with length of 9000
fwrite($fp, $string) will write in one shot. correct
fwrite($fp, $string, 8192) will only write 4096.???
fwrite($fp, $string, 2048) will write 2048. correct
fwrite($fp, $string, 1234) will write 1234. correct
Thanks for any help.
----
Server IP: 209.41.74.194
Probable Submitter: 64.39.108.96
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit -- https://master.php.net/note/edit/92100
Del: integrated -- https://master.php.net/note/delete/92100/integrated
Del: useless -- https://master.php.net/note/delete/92100/useless
Del: bad code -- https://master.php.net/note/delete/92100/bad+code
Del: spam -- https://master.php.net/note/delete/92100/spam
Del: non-english -- https://master.php.net/note/delete/92100/non-english
Del: in docs -- https://master.php.net/note/delete/92100/in+docs
Del: other reasons-- https://master.php.net/note/delete/92100
Reject -- https://master.php.net/note/reject/92100
Search -- https://master.php.net/manage/user-notes.php