diff options
-rw-r--r-- | ext/simplexml/examples/security.php | 2 |
1 files changed, 1 insertions, 1 deletions
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); ?> |