Possible Duplicate:
Able to see a variable in print_r()'s output, but not sure how to access it in code
$response = $amazonEcs->category('DVD')->responseGroup('Large')->search("Matrix Revolutions");
var_dump($response);
I was using var_dump($response) and now I want to know how can I get the values of Item from 0 to 9.


Itemis nested inside a couple of objects. Assuming your outer object is$response, you are looking for:itemsis an objectstdClass, anditemis a property of that object.itemitself is an array, having the keys0-9you are looking for.Each of those array elements is then an object
stdClassitself, so access its properties (which we can’t see in your output) with the->operator.Edit: Changed
itemtoItem, as it is capitalized in the sample output.