xref: /PHP-5.6/ext/simplexml/examples/security.php (revision 594f6433)
1<?php
2$s = simplexml_load_file('security.xml');
3echo $s->id;
4$s->id = 20;
5$s->asXML('security.new.xml');
6?>
7