title: Read xml file and load its content into the array
body: <p>I need to read xml file and load its content into the array. What is the simplest way to do this?</p>
  
  <pre><code>$xml = json_decode(json_encode((array) simplexml_load_file("./test.xml")), 1);
  print_r $xml;
  </code></pre>