diff options
author | Sterling Hughes <sterling@php.net> | 2003-05-21 20:15:05 (GMT) |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-05-21 20:15:05 (GMT) |
commit | 956676e68c8edbde576467c076f419c7d3f96f12 (patch) | |
tree | c70bbb5e4800b76a230357385333cd8806b3eb42 /ext/simplexml/examples | |
parent | 5619166fe4b97404ead038b5485f33c56d21885f (diff) | |
download | php-956676e68c8edbde576467c076f419c7d3f96f12.tar.gz |
foodle
Diffstat (limited to 'ext/simplexml/examples')
-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 ef5f20c..c396adc 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'); ?> |