title: JSON encode and decode on PHP
body: <p>I have JSON output encoded.</p>
  
  <pre><code>$responseJSON
  {"status":1,"content":{"sessionid":"4c86cf1acac07811db6ec670e0b9cdd2"}}
  </code></pre>
  
  <p>now I do a decode on that</p>
  
  <pre><code>$decoded=json_decode($responseJSON);
  
  print_r($decoded)
  </code></pre>
  
  <p>I get </p>
  
  <pre><code>stdClass Object (
    [status] =&gt; 1 
    [content] =&gt; stdClass Object ( 
      [sessionid] =&gt; 4c86cf1acac07811db6ec670e0b9cdd2 
    ) 
  ) 
  </code></pre>
  
  <p>I don't want decoded like that. </p>
  
  <p>how do I decode to an normal array without those stdClass tag?</p>