note 20763 rejected from function.fgets by sander

From: Date: Mon, 15 Apr 2002 16:43:35 +0000
Subject: note 20763 rejected from function.fgets by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-29375@lists.php.net to get a copy of this message
it says the length parameter is optional, but if you omit it within a loop PHP will happily complain about it, skip the read, and continue on through the loop. which will quickly lead to things like this: -rw------- 1 nex nex 208995790 Apr 15 11:18 error_log Ack.

« previous php.notes (#29375) next »