<?php $domain = parse_url('https://äxämple.se/anotherpath?foo=bar&baf=ba', PHP_URL_HOST); var_dump($domain);
You have javascript disabled. You will not be able to edit any code.