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

Reply via email to