original_string: protected function checkBrowserVivaldi() {
          if( stripos($this->_agent,'Vivaldi') !== false ) {
              $aresult = explode('/',stristr($this->_agent,'Vivaldi'));
              $aversion = explode(' ',$aresult[1]);
              $this->setVersion($aversion[0]);
              $this->setBrowser(self::BROWSER_VIVALDI);
              return true;
          }
          return false;
      }
code: protected function checkBrowserVivaldi() {
          if( stripos($this->_agent,'Vivaldi') !== false ) {
              $aresult = explode('/',stristr($this->_agent,'Vivaldi'));
              $aversion = explode(' ',$aresult[1]);
              $this->setVersion($aversion[0]);
              $this->setBrowser(self::BROWSER_VIVALDI);
              return true;
          }
          return false;
      }
code_tokens: protected function checkBrowserVivaldi ( ) { if ( stripos ( $ this -> _agent , 'Vivaldi' ) !== false ) { $ aresult = explode ( '/' , stristr ( $ this -> _agent , 'Vivaldi' ) ) ; $ aversion = explode ( ' ' , $ aresult [ 1 ] ) ; $ this -> setVersion ( $ aversion [ 0 ] ) ; $ this -> setBrowser ( self :: BROWSER_VIVALDI ) ; return true ; } return false ; }
docstring: Determine if the browser is Vivaldi or not
  @return boolean True if the browser is Vivaldi otherwise false
docstring_tokens: Determine if the browser is Vivaldi or not