note 34200 deleted from function.readfile by aidan
| From: | aidan@php.net | Date: | Fri, 24 Sep 2004 01:29:04 +0000 |
| Subject: | note 34200 deleted from function.readfile by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-77283@lists.php.net to get a copy of this message | ||
Note Submitter: dang AT [ nospam ] planetmirror DOT com
----
In response to the person who commented above about using readfile to read a 6M file, I think the
reverse is true. In testing, reading a 44M file with readfile would begin transfer immediately,
whereas reading a 44M file with fread would take some time to load the entire file into memory and
then begin outputting it.