public static function canOpenArchive($fileName)
    {
        self::checkRequirements();

        $type = self::detectArchiveType($fileName);
        if ($type !== false && self::canOpenType($type)) {
            return true;
        }

        return false;
    }
public static function canOpenArchive($fileName)
    {
        self::checkRequirements();

        $type = self::detectArchiveType($fileName);
        if ($type !== false && self::canOpenType($type)) {
            return true;
        }

        return false;
    }
public static function canOpenArchive ( $ fileName ) { self :: checkRequirements ( ) ; $ type = self :: detectArchiveType ( $ fileName ) ; if ( $ type !== false && self :: canOpenType ( $ type ) ) { return true ; } return false ; }
Checks whether archive can be opened with current system configuration
@param string $fileName
@return boolean
Checks whether archive can be opened with current system configuration