note 117971 added to function.xmlwriter-open-uri

From: Date: Thu, 10 Sep 2015 06:08:59 +0000
Subject: note 117971 added to function.xmlwriter-open-uri
Groups: php.notes 
Request: Send a blank email to php-notes+get-203765@lists.php.net to get a copy of this message
Reproduced on Windows: If you get an exception when you try to handle the created file (rename, move etc.) you should unset the XMLWriter instance. In other case you'll get an exception because the XMLWriter process holds access to this file. <?php $xml = new \XMLWriter(); $xml->openUri(...) ... $xml->flush(); unset($xml); //important! ---- Server IP: 72.52.91.14 Probable Submitter: 195.81.221.4 ---- Manual Page -- http://php.net/manual/en/function.xmlwriter-open-uri.php Edit -- https://master.php.net/note/edit/117971 Del: integrated -- https://master.php.net/note/delete/117971/integrated Del: useless -- https://master.php.net/note/delete/117971/useless Del: bad code -- https://master.php.net/note/delete/117971/bad+code Del: spam -- https://master.php.net/note/delete/117971/spam Del: non-english -- https://master.php.net/note/delete/117971/non-english Del: in docs -- https://master.php.net/note/delete/117971/in+docs Del: other reasons-- https://master.php.net/note/delete/117971 Reject -- https://master.php.net/note/reject/117971 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#203765) next »