note 71322 rejected from function.fwrite by bobby

From: Date: Wed, 22 Nov 2006 17:39:31 +0000
Subject: note 71322 rejected from function.fwrite by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-119981@lists.php.net to get a copy of this message
Note Submitter: max at nucleus dot it ---- This page is slightly inaccurate. fwrite() does not return false on any error. For example it returns false if the stream is closed, but there is no check at all about any error condition while performing the real write. If you exhaust your disk space or get a broken pipe you get 0. The implementation does not check errno or ferror() when the underlying C fwrite() returns 0.

« previous php.notes (#119981) next »