note 71322 added to function.fwrite
| From: | max at nucleus dot it | Date: | Wed, 22 Nov 2006 16:44:32 +0000 |
| Subject: | note 71322 added to function.fwrite | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119979@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 80.241.173.254
Probable Submitter: 80.22.205.94
----
Manual Page -- http://www.php.net/manual/en/function.fwrite.php
Edit -- https://master.php.net/note/edit/71322
Del: integrated -- https://master.php.net/note/delete/71322/integrated
Del: useless -- https://master.php.net/note/delete/71322/useless
Del: bad code -- https://master.php.net/note/delete/71322/bad+code
Del: spam -- https://master.php.net/note/delete/71322/spam
Del: non-english -- https://master.php.net/note/delete/71322/non-english
Del: in docs -- https://master.php.net/note/delete/71322/in+docs
Del: other reasons-- https://master.php.net/note/delete/71322
Reject -- https://master.php.net/note/reject/71322
Search -- https://master.php.net/manage/user-notes.php