Re: [PHP-DOC] docu of fread function

2007-05-31 Thread Gaetano Giunta
Hannes Magnusson wrote: Hi Giunta On 5/28/07, Gaetano Giunta <[EMAIL PROTECTED]> wrote: 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

Re: [PHP-DOC] docu of fread function

2007-05-31 Thread Hannes Magnusson
Hi Giunta On 5/28/07, Gaetano Giunta <[EMAIL PROTECTED]> wrote: 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

[PHP-DOC] docu of fread function

2007-05-28 Thread Gaetano Giunta
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 $