note 92100 rejected from function.fwrite by danbrown
| From: | danbrown@php.net | Date: | Wed, 08 Jul 2009 21:56:40 +0000 |
| Subject: | note 92100 rejected from function.fwrite by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-158083@lists.php.net to get a copy of this message | ||
Note Submitter: xqian at quays dot com
----
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.