메소드 | 설명 | |
---|---|---|
getHostname ( string $url ) : string | false | ||
getPath ( string $url ) : string | ||
getRootDomain ( string $url ) : false | string | Extracts lower-case ASCII root domain from URL if it is available and valid, returns false otherwise. |
메소드 | 설명 | |
---|---|---|
isHostInSuffixList ( false | string $host ) : boolean | ||
parseUrl ( string $url, integer $component ) : string | false | Checks an URL for validity, and punycode encode the returned component. |
public static getHostname ( string $url ) : string | false | ||
$url | string | |
리턴 | string | false |
public static getRootDomain ( string $url ) : false | string | ||
$url | string | |
리턴 | false | string |