note 27505 deleted from function.fread by wez

From: Date: Fri, 13 Jun 2003 23:23:40 +0000
Subject: note 27505 deleted from function.fread by wez
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-50319@lists.php.net to get a copy of this message
Note Submitter: grant@ryuuguu.com ---- 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.

« previous php.notes (#50319) next »