public static function isUrlArchive($url)
    {
        if (0 === strpos($url, 'http')) {
            foreach (self::$extensions as $extension) {
                if (substr($url, -\strlen($extension)) === $extension) {
                    return true;
                }
            }
        }

        return false;
    }
public static function isUrlArchive($url)
    {
        if (0 === strpos($url, 'http')) {
            foreach (self::$extensions as $extension) {
                if (substr($url, -\strlen($extension)) === $extension) {
                    return true;
                }
            }
        }

        return false;
    }
public static function isUrlArchive ( $ url ) { if ( 0 === strpos ( $ url , 'http' ) ) { foreach ( self :: $ extensions as $ extension ) { if ( substr ( $ url , - \ strlen ( $ extension ) ) === $ extension ) { return true ; } } } return false ; }
Check if the url is a url of a archive file.

@param string $url The url

@return bool
Check if the url is a url of a archive file .