How to parse this array?
<pre><code>Array(2) {
  [0] =&gt;
  object(Object) {
    [Treatment] =&gt;
    object(Object) {
      [id] =&gt;
      string(1) "3"
      [user_id] =&gt;
      string(1) "4"
      [morning] =&gt;
      string(4) "Head"
      [evening] =&gt;
      string(11) "Orthopedics"
      [night] =&gt;
      string(6) "sss"
      [time] =&gt;
      string(19) "2011-06-18 04:21:00"
    }
    [User] =&gt;
    object(Object) {
      [id] =&gt;
      string(1) "4"
      [username] =&gt;
      string(6) " Kajol "
      [mobile] =&gt;
      string(8) "1122"
      [Address] =&gt;
      string(3) "USA"
      [complaints] =&gt;
      string(7) "Un rest"
      [tests] =&gt;
      string(6) "sasas"
    }
  }
  [1] =&gt;
  object(Object) {
    [Treatment] =&gt;
    object(Object) {
      [id] =&gt;
      string(1) "7"
      [user_id] =&gt;
      string(1) "4"
      [morning] =&gt;
      string(11) "Orthopedics"
      [evening] =&gt;
      string(4) "Head"
      [night] =&gt;
      string(10) "Head asa"
      [time] =&gt;
      string(19) "2011-06-18 16:35:00"
    }
    [User] =&gt;
    object(Object) {
      [id] =&gt;
      string(1) "4"
      [username] =&gt;
      string(6) "Kajol"
      [mobile] =&gt;
      string(8) "q1212"
      [Address] =&gt;
      string(3) "USA"
      [complaints] =&gt;
      string(7) "Un rest"
      [tests] =&gt;
      string(6) "sasas"
    }
  }
}  
</code></pre>
