JSON from Google Maps call

<?php
$url = 'https://maps.googleapis.com/maps/api/geocode/json?address=Stadtbibliothek+Zanklhof&sensor=false';
$content = file_get_contents($url); $json = json_decode($content, true);

echo '<pre>'; print_r($json['results'][0]['geometry']['location']['lat']); print_r($json['results'][0]['geometry']['location']['lng']); echo '</pre>'; ?>