public static function checkBrowserVivaldi()
    {
        if (stripos(self::$userAgentString, 'Vivaldi') !== false) {
            $aresult = explode('/', stristr(self::$userAgentString, 'Vivaldi'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                self::$browser->setVersion($aversion[0]);
            }
            self::$browser->setName(Browser::VIVALDI);

            return true;
        }

        return false;
    }
public static function checkBrowserVivaldi()
    {
        if (stripos(self::$userAgentString, 'Vivaldi') !== false) {
            $aresult = explode('/', stristr(self::$userAgentString, 'Vivaldi'));
            if (isset($aresult[1])) {
                $aversion = explode(' ', $aresult[1]);
                self::$browser->setVersion($aversion[0]);
            }
            self::$browser->setName(Browser::VIVALDI);

            return true;
        }

        return false;
    }
public static function checkBrowserVivaldi ( ) { if ( stripos ( self :: $ userAgentString , 'Vivaldi' ) !== false ) { $ aresult = explode ( '/' , stristr ( self :: $ userAgentString , 'Vivaldi' ) ) ; if ( isset ( $ aresult [ 1 ] ) ) { $ aversion = explode ( ' ' , $ aresult [ 1 ] ) ; self :: $ browser -> setVersion ( $ aversion [ 0 ] ) ; } self :: $ browser -> setName ( Browser :: VIVALDI ) ; return true ; } return false ; }
Determine if the browser is Vivaldi.

@return bool
Determine if the browser is Vivaldi .