How to access an array from within an object?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/7027615/accessing-class-properties-with-spaces">Accessing Class Properties with Spaces</a>  </p>
</blockquote>



<p>i have and object file and i cant get devices list, How to get <strong>devices</strong>?? how to call 2 wards like "Canon Camera" ?</p>

<pre><code>  [Camera] =&gt; stdClass Object
    (
        [Canon Camera] =&gt; stdClass Object
            (
                [DEVICES] =&gt; Array
                    (
                        [0] =&gt; Canon EOS 30
                        [1] =&gt; Canon EOS 5D Mark II
                        [2] =&gt; Canon EOS 7D
                        [3] =&gt; Canon EOS A2
                        [4] =&gt; Canon EOS Digital Rebel (300D)
                        [5] =&gt; Canon EOS Rebel XS
                        [6] =&gt; Canon PowerShot 1200
                        [7] =&gt; Canon PowerShot A200
                        [8] =&gt; Canon PowerShot A520
                        [9] =&gt; Canon PowerShot A550


                    )

            )
</code></pre>
