docu of fread function

From: Date: Mon, 28 May 2007 15:00:21 +0000
Subject: docu of fread function
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969376476@lists.php.net to get a copy of this message
Hello there. The online manual for fread states clearly "Returns the read string or FALSE in case of error." I was always puzzled by that assertion, and today decided to digg into the code. As a matter of fact, the only time fread returns FALSE (on php 5) is when it is invoked whith a negative $length, or with a single parameter. Maybe an update would be appropriate? Bye Gaetano Giunta

« previous php.doc (#969376476) next »