Goal: retrieve an element of data from within a PHP object by number.
This is the print_r($data) of the object:
stdClass Object ( [0] => stdCl
Have you tried a foreach() loop? That should give you all the accessible elements, and the keys it returns may give you a better clue as to how to access them directly.
foreach()