Possible Duplicate:
Accessing Class Properties with Spaces
i have and object file and i cant get devices list, How to get devices?? how to call 2 wards like “Canon Camera” ?
[Camera] => stdClass Object
(
[Canon Camera] => stdClass Object
(
[DEVICES] => Array
(
[0] => Canon EOS 30
[1] => Canon EOS 5D Mark II
[2] => Canon EOS 7D
[3] => Canon EOS A2
[4] => Canon EOS Digital Rebel (300D)
[5] => Canon EOS Rebel XS
[6] => Canon PowerShot 1200
[7] => Canon PowerShot A200
[8] => Canon PowerShot A520
[9] => Canon PowerShot A550
)
)
Try with:
Then you will have an access to
DEVICESarray.