From: Derick Rethans Date: Wed, 21 May 2003 20:16:04 +0000 (+0000) Subject: - Fixed example X-Git-Tag: RELEASE_1_0_2~647 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec02fe98d81d71ebb1e6e170e0cffd40b09d08dc;p=php - Fixed example --- diff --git a/ext/simplexml/examples/security.php b/ext/simplexml/examples/security.php index c396adc22b..cbca9be79f 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_document_file($s, 'security.new.xml'); +simplexml_save_document_file('security.new.xml', $s); ?>