breaking down multidimentional arrays in php
<p>i have the following multidimensional array:</p>

<pre><code>Array ( [0] =&gt; stdClass Object ( [array] =&gt; Array ( [0] =&gt; 6112010651088 [1] =&gt; Bill [2] =&gt; Choice ) ) [1] =&gt; stdClass Object ( [array] =&gt; Array ( [0] =&gt; 6702015707081 [1] =&gt; test [2] =&gt; data2 ) ) ) 
</code></pre>

<p>If you break the first array down using</p>

<pre><code>foreach ($point1 as $val)
{
print_r($val);
}
</code></pre>

<p>you get:   </p>

<pre><code>stdClass Object ( [array] =&gt; Array ( [0] =&gt; 6112010651088 [1] =&gt; Bill [2] =&gt; Choice ) ) 
stdClass Object ( [array] =&gt; Array ( [0] =&gt; 6702015707081 [1] =&gt; test [2] =&gt; data2 ) ) 
</code></pre>

<p>so basically u have an array with 2 objects of array with 3 units of data each, how do i access this object stdClass array now, cos if i go $val[0] instead of $val i get </p>

<pre><code>Fatal error: Cannot use object of type stdClass as array 
</code></pre>
