title: Difference between simplexml_load_file and simplexml_load_string
body: <p>I want to put a xml file into my programme and make it into an array so I can put it into a table.</p>
  
  <p>I was wondering how I can do this and I have read the php manual, but I don't seem to be able to get to grips with it.</p>
  
  <p>To do what I want, do I need to use <code>simplexml_load_string</code>, or do I need to command both of them(<code>simplexml_load_file</code> and <code>simplexml_load_string</code>), therefore load the xml file onto the programme, then turn it into a file.
  Or does <code>simplesml_load_string</code> just does all of that for me.</p>
  
  <p>Also I was wondering what <code>get_object_vars</code> does when you put it around an array.</p>