title: How to Get Array Inside stdClass
body: <p>I am trying to decode with json
  <a href="http://digitsolutions4u.com/apps_services/statuslist.php?catid=1" rel="nofollow noreferrer">http://digitsolutions4u.com/apps_services/statuslist.php?catid=1</a>
  like this</p>
  
  <pre><code>&lt;?php 
  $json_url = "http://digitsolutions4u.com/apps_services/statuslist.php?catid=1";
  $json = file_get_contents($json_url);
  $json=str_replace('},
  
  ]',"}
  
  ]",$json);
  $data = json_decode($json);
  
  echo "&lt;pre&gt;";
  print_r($data);
  echo "&lt;/pre&gt;";
  ?&gt;
  </code></pre>
  
  <p>i want to get all "statusdesc" Values after decode.
  I am getting results something like this</p>
  
  <pre><code>stdClass Object
  (
      [posts] =&gt; Array
          (
              [0] =&gt; stdClass Object
                  (
                      [statusid] =&gt; 1329
                      [statusdesc] =&gt; love86.jpg
                  )
  )
  )
  </code></pre>
  
  <p>i just want to list out all statusdesc available on the page like 
  love86.jpg
  love87.jpg
  love88.jpg
  and so on. Anyone can provide me solution(code)  for this? I have tried several threads, but no success.</p>