note 97827 added to function.fwrite

From: Date: Mon, 10 May 2010 23:41:28 +0000
Subject: note 97827 added to function.fwrite
Groups: php.notes 
Request: Send a blank email to php-notes+get-169134@lists.php.net to get a copy of this message
i suggest to use file_put_contents instead of fwrite. it is mentioned that they are identical but i got sometimes cut errors of the string after executing fwrite based code. on the other hand i had never problems with file_put_contents with same test files, same limit settings. ---- Server IP: 69.147.83.197 Probable Submitter: 85.105.29.246 ---- Manual Page -- http://www.php.net/manual/en/function.fwrite.php Edit -- https://master.php.net/note/edit/97827 Del: integrated -- https://master.php.net/note/delete/97827/integrated Del: useless -- https://master.php.net/note/delete/97827/useless Del: bad code -- https://master.php.net/note/delete/97827/bad+code Del: spam -- https://master.php.net/note/delete/97827/spam Del: non-english -- https://master.php.net/note/delete/97827/non-english Del: in docs -- https://master.php.net/note/delete/97827/in+docs Del: other reasons-- https://master.php.net/note/delete/97827 Reject -- https://master.php.net/note/reject/97827 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#169134) next »