- preg_match: documentation ( source)
- print_r: documentation ( source)
<?php
$url = 'https://www.google.hu/maps/@46.6203091,19.2838767,3a,75y,217.05h,87.68t/data=!3m6!1e1!3m4!1sFZH5sOcdDLpyFvgrsTlY2g!2e0!7i13312!8i6656?hl=hu';
preg_match('/@([0-9\.]+),([0-9\.]+),(.*),(.*),([0-9\.]+)h,([0-9\.]+)t/', $url, $results);
print_r($results);