original_string: public static function instance($reload = false, $forceuseragent = null) {
          if (!self::$instance || $reload) {
              self::$instance = new core_useragent($forceuseragent);
          }
          return self::$instance;
      }
code: public static function instance($reload = false, $forceuseragent = null) {
          if (!self::$instance || $reload) {
              self::$instance = new core_useragent($forceuseragent);
          }
          return self::$instance;
      }
code_tokens: public static function instance ( $ reload = false , $ forceuseragent = null ) { if ( ! self :: $ instance || $ reload ) { self :: $ instance = new core_useragent ( $ forceuseragent ) ; } return self :: $ instance ; }
docstring: Get an instance of the user agent object.
  
  @param bool $reload If set to true the user agent will be reset and all ascertations remade.
  @param string $forceuseragent The string to force as the user agent, don't use unless absolutely unavoidable.
  @return core_useragent
docstring_tokens: Get an instance of the user agent object .