note 20763 added to function.fgets

From: Date: Mon, 15 Apr 2002 15:24:18 +0000
Subject: note 20763 added to function.fgets
Groups: php.notes 
Request: Send a blank email to php-notes+get-29371@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. -- http://www.php.net/manual/en/function.fgets.php http://master.php.net/manage/user-notes.php?action=edit+20763 http://master.php.net/manage/user-notes.php?action=delete+20763 http://master.php.net/manage/user-notes.php?action=reject+20763

« previous php.notes (#29371) next »