chregu          Sun Oct 26 13:56:04 2003 EDT

  Modified files:              
    /php-src/ext/simplexml/examples     security.php 
  Log:
  fix example for saving to file
  
Index: php-src/ext/simplexml/examples/security.php
diff -u php-src/ext/simplexml/examples/security.php:1.3 
php-src/ext/simplexml/examples/security.php:1.4
--- php-src/ext/simplexml/examples/security.php:1.3     Wed May 21 16:16:04 2003
+++ php-src/ext/simplexml/examples/security.php Sun Oct 26 13:56:03 2003
@@ -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');
 ?>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to