$xml = Format::forge( file_get_contents( '/my/xml/file.xml', 'xml' ) );
\Debug::dump($xml->to_array());
// create a format object from your XML $xml = Format::forge($myxmlstring, 'xml'); // get the xml as an array $array = $xml->to_array(); // dump the array Debug::dump($array);
It looks like you're new here. If you want to get involved, click one of these buttons!