public function parseFromGlobal($strict = true)
    {
        $string = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null;

        return $this->parse($string, $strict);
    }
public function parseFromGlobal($strict = true)
    {
        $string = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null;

        return $this->parse($string, $strict);
    }
public function parseFromGlobal ( $ strict = true ) { $ string = isset ( $ _SERVER [ 'HTTP_USER_AGENT' ] ) ? $ _SERVER [ 'HTTP_USER_AGENT' ] : null ; return $ this -> parse ( $ string , $ strict ) ; }
Parses the user agent string provided by the global.

@param bool $strict Enable strict mode. This makes the parser run a bit slower but increases the accuracy significantly.

@return array Returns the user agent information.

@see UserAgentStringParser::parse()
Parses the user agent string provided by the global .