Report question

Question: PHP function to get the subdomain of a URL