title: Member Function and a non-object
body: <p>I have created a simple function for fetching xml:</p>
  
  <pre><code>function meteor(){
      $request_url = "http://site.com/xml.xml";
      $xml = simplexml_load_file($request_url) or die("feed not loading");
      return $xml;
   }
  </code></pre>
  
  <p>But I cant call to this function:</p>
  
  <pre><code>$xmls = new meteor();
  echo $xmls-&gt;Kemo-&gt;Area;
  </code></pre>
  
  <p>I have not any output because meteor in not a class. In this situation, how can fetch data from function? 
  Thanks in advance</p>