note 27505 added to function.fread
| From: | grant at ryuuguu dot com | Date: | Mon, 09 Dec 2002 05:19:42 +0000 |
| Subject: | note 27505 added to function.fread | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-40555@lists.php.net to get a copy of this message | ||
Some where between 4.0.6 and 4.2.1 this started allocating the entire length passed to fread even if
unneeded. It also seems to pass a string along of length equal to the paramter, so if you find old
scripts breaking due memory errors this could be the cause.
--
http://www.php.net/manual/en/function.fread.php
http://master.php.net/manage/user-notes.php?action=edit+27505
http://master.php.net/manage/user-notes.php?action=delete+27505
http://master.php.net/manage/user-notes.php?action=reject+27505