- var_dump: documentation ( source)
- file_put_contents: documentation ( source)
- simplexml_load_file: documentation ( source)
<?php
file_put_contents('/tmp/qwe.xml', '<xml></xml>');
$xml = simplexml_load_file('/tmp/qwe.xml');
$xml = simplexml_load_file('/tmp/qwe.xml');
$xml = simplexml_load_file('/tmp/qwe.xml');
var_dump($xml);