summaryrefslogtreecommitdiff
path: root/ext/simplexml/examples
diff options
context:
space:
mode:
authorDerick Rethans <derick@php.net>2003-05-21 20:16:04 (GMT)
committerDerick Rethans <derick@php.net>2003-05-21 20:16:04 (GMT)
commitec02fe98d81d71ebb1e6e170e0cffd40b09d08dc (patch)
tree56e4c035a9661cc32a2336148c2f982632753d3c /ext/simplexml/examples
parent956676e68c8edbde576467c076f419c7d3f96f12 (diff)
downloadphp-ec02fe98d81d71ebb1e6e170e0cffd40b09d08dc.tar.gz
- Fixed example
Diffstat (limited to 'ext/simplexml/examples')
-rw-r--r--ext/simplexml/examples/security.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/simplexml/examples/security.php b/ext/simplexml/examples/security.php
index c396adc..cbca9be 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);
?>