A relative URL does not have host info part.
public static isRelative ( string $url ) : boolean | ||
$url | string | the URL to be checked |
Результат | boolean | whether the URL is relative |
public static isRelative ( string $url ) : boolean | ||
$url | string | the URL to be checked |
Результат | boolean | whether the URL is relative |