From: Sterling Hughes Date: Wed, 21 May 2003 20:15:05 +0000 (+0000) Subject: foodle X-Git-Tag: RELEASE_1_0_2~648 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=956676e68c8edbde576467c076f419c7d3f96f12;p=php foodle --- diff --git a/ext/simplexml/examples/security.php b/ext/simplexml/examples/security.php index ef5f20cb9a..c396adc22b 100644 --- a/ext/simplexml/examples/security.php +++ b/ext/simplexml/examples/security.php @@ -2,5 +2,5 @@ $s = simplexml_load_file('security.xml'); echo $s->id; $s->id = 20; -simplexml_save_file($s, 'security.new.xml'); +simplexml_save_document_file($s, 'security.new.xml'); ?>