note 113624 added to splfileobject.fwrite

From: Date: Thu, 07 Nov 2013 12:47:56 +0000
Subject: note 113624 added to splfileobject.fwrite
Groups: php.notes 
Request: Send a blank email to php-notes+get-197450@lists.php.net to get a copy of this message
Your \SplFileObject will not throw an exception when trying to write to a non-writeable stream! I forgot to set the second parameter on my \SplFileObject constructor (the mode), costing me minutes to figure out why nothing was writter by the fwrite method... Just to let you know! ---- Server IP: 72.52.91.14 Probable Submitter: 72.52.91.14 ---- Manual Page -- http://php.net/manual/en/splfileobject.fwrite.php Edit -- https://master.php.net/note/edit/113624 Del: integrated -- https://master.php.net/note/delete/113624/integrated Del: useless -- https://master.php.net/note/delete/113624/useless Del: bad code -- https://master.php.net/note/delete/113624/bad+code Del: spam -- https://master.php.net/note/delete/113624/spam Del: non-english -- https://master.php.net/note/delete/113624/non-english Del: in docs -- https://master.php.net/note/delete/113624/in+docs Del: other reasons-- https://master.php.net/note/delete/113624 Reject -- https://master.php.net/note/reject/113624 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#197450) next »