note 26679 deleted from function.fwrite by philip

From: Date: Tue, 10 Dec 2002 18:56:04 +0000
Subject: note 26679 deleted from function.fwrite by philip
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-40672@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.

« previous php.notes (#40672) next »