Display values in PHP that are Std Class
<p>All,
I have the following code to get some posts from Tumblr:</p>

<pre><code>$baseHostname = "name.tumblr.com";
$tumblrConsumerKey = "asfd"; # use your own consumer key here
$humblr = new Humblr($baseHostname, $tumblrConsumerKey);

$post = $humblr-&gt;getPosts(array('limit' =&gt; 1));
print_r($post);
</code></pre>

<p>This works fine and gives me a result of something like this:</p>

<pre><code>Array ( 
    [0] =&gt; stdClass Object ( 
        [blog_name] =&gt; name 
        [id] =&gt; 43993 
        [post_url] =&gt; http://name.tumblr.com/post/43993/
        [slug] =&gt; slug 
        [type] =&gt; video 
        [date] =&gt; 2013-02-25 18:00:25 GMT 
        [timestamp] =&gt; 1361815225 
        [state] =&gt; published 
        [format] =&gt; html )
</code></pre>

<p>I try and display some values like this:</p>

<pre><code>echo "The blog name is: ".$post-&gt;blog_name;
echo $post-&gt;id;
</code></pre>

<p>However, it is blank. How can I display these values?</p>

<p>Thanks</p>
