note 26679 added to function.fwrite

From: Date: Fri, 08 Nov 2002 18:53:23 +0000
Subject: note 26679 added to function.fwrite
Groups: php.notes 
Request: Send a blank email to php-notes+get-39190@lists.php.net to get a copy of this message
The error handling in the example is not consistent with the documented way in which error conditions are indicated by the return result. Error conditions are indicated as a -1 return value; yet the example checks for a FALSE (i.e.: zero) value. -- http://www.php.net/manual/en/function.fwrite.php http://master.php.net/manage/user-notes.php?action=edit+26679 http://master.php.net/manage/user-notes.php?action=delete+26679 http://master.php.net/manage/user-notes.php?action=reject+26679

« previous php.notes (#39190) next »