note 22195 added to function.fread
| From: | sbedbergAT at ucdavisDOT dot edu | Date: | Mon, 10 Jun 2002 12:40:32 +0000 |
| Subject: | note 22195 added to function.fread | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31658@lists.php.net to get a copy of this message | ||
PHP seems to preallocate a buffer of length <length> - so, you may need to increase your
memory_limit if you use a large <length>, even though the actual bytecount read is small.
(this is on php 4.1.1/Solaris 8; your mileage may vary).
--
http://www.php.net/manual/en/function.fread.php
http://master.php.net/manage/user-notes.php?action=edit+22195
http://master.php.net/manage/user-notes.php?action=delete+22195
http://master.php.net/manage/user-notes.php?action=reject+22195