(
[status] => OK
[result] => SimpleXMLElement Object
(
[type] => route
[formatted_address] => Ackerstraße, 10115 Berlin, Deutschland
[address_component] => Array
(
[0] => SimpleXMLElement Object
(
[long_name] => Ackerstraße
[short_name] => Ackerstraße
[type] => route
)[1] => SimpleXMLElement Object
(
[long_name] => Mitte
[short_name] => Mitte
[type] => Array
(
[0] => sublocality
[1] => political
))
[2] => SimpleXMLElement Object
(
[long_name] => Berlin
[short_name] => Berlin
[type] => Array
(
[0] => locality
[1] => political
))
[3] => SimpleXMLElement Object
(
[long_name] => Berlin
[short_name] => Berlin
[type] => Array
(
[0] => administrative_area_level_1
[1] => political
))
[4] => SimpleXMLElement Object
(
[long_name] => Deutschland
[short_name] => DE
[type] => Array
(
[0] => country
[1] => political
))
[5] => SimpleXMLElement Object
(
[long_name] => 10115
[short_name] => 10115
[type] => postal_code
))
Wie hast du diese Ausgabe erzeugt und vorallem welchen Teil verschweigst du uns bei der Ausgabe? Das ist weder eine vollständige Ausgabe von @var\_dump noch von @print\_r, obwohl es mehr nach letzterem aussieht.
[Das Handbuch](http://php.net/manual/en/function.print-r.php) ist hier ziemlich eindeutig und @print\_r sollte genau so funktionieren, wie von dir erwartet. Dein Fehler steckt vermutlich woanders.