Parsing StdClass Object from file
<p>I'm using the Superfeedr php client, and when it gets a ping, it json_encodes and then writes the ping to a file. The result is saved as a StdClass Object. I then tried to load the result via file_get_content but I can not access any of the data.</p>

<pre><code>$obj = file_get_contents('result.txt');
echo $obj-&gt;title;
</code></pre>

<p>the object is long but looks like:</p>

<blockquote>
  <p>stdClass Object (  [status] =>
  stdClass Object   (    [title] => Blah
  )  [title] => Blah )</p>
</blockquote>

<p>I haven't used PHP in a long time so I'm rusty... but it seems like i'm loading the object as a string thus I can't treat it as a object. Am I right? If so, how do I approach this?</p>
