diff options
author | Christian Stocker <chregu@php.net> | 2003-10-26 18:56:03 (GMT) |
---|---|---|
committer | Christian Stocker <chregu@php.net> | 2003-10-26 18:56:03 (GMT) |
commit | 1e46a26f0fb8a636b27b2e8b31db92f621e0cde0 (patch) | |
tree | 882fdbef0b92d0f8238e62067b228eb56365ea29 /ext/simplexml/examples | |
parent | 5191cd3e99705b3c0715789258992228f8bb9c50 (diff) | |
download | php-1e46a26f0fb8a636b27b2e8b31db92f621e0cde0.tar.gz |
fix example for saving to file
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 cbca9be..9c39191 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('security.new.xml', $s); +$s->to_xml_file('security.new.xml'); ?> |