lib/blobfolio/common/sanitize.php
public static function domain($str='', bool $unicode=false) {
		ref\sanitize::domain($str, $unicode);
		return $str;
	}
public static function domain($str='', bool $unicode=false) {
		ref\sanitize::domain($str, $unicode);
		return $str;
	}
public static function domain ( $ str = '' , bool $ unicode = false ) { ref \ sanitize :: domain ( $ str , $ unicode ) ; return $ str ; }
Domain Name.

This locates the domain name portion of a URL,
removes leading "www." subdomains, and ignores
IP addresses.

@param string $str Domain.
@param bool $unicode Unicode.
@return string Domain.
Domain Name .