title: stdClass to array?
body: <p>i have:</p>
  
  <pre><code>stdClass Object
  (
      [0] =&gt; stdClass Object
          (
              [one] =&gt; aaa
              [two] =&gt; sss
          )
  
      [1] =&gt; stdClass Object
          (
              [one] =&gt; ddd
              [two] =&gt; fff
          )
  
      [2] =&gt; stdClass Object
          (
              [one] =&gt; ggg
              [two] =&gt; hhh
          )
  }
  </code></pre>
  
  <p>and i <strong>must</strong> get this with keys, for example:</p>
  
  <pre><code>$var = $stdClass[0]; 
  </code></pre>
  
  <p>but i have error:</p>
  
  <blockquote>
    <p>Fatal error: Cannot use object of type stdClass as array in</p>
  </blockquote>
  
  <p>Is possible parse this stdClass to array and use this with keys?</p>