Really don't know the difference between `array_key_exists('host', $url_info)` and `isset($url_info['host'])` but `array_key_exists` looked more standard.