original_string: public function version()
      {
          $this->sendCommand('version');
          $res = fgets($this->conn, 4096);
          $this->checkForError($res);
  
          return trim($res);
      }
code: public function version()
      {
          $this->sendCommand('version');
          $res = fgets($this->conn, 4096);
          $this->checkForError($res);
  
          return trim($res);
      }
code_tokens: public function version ( ) { $ this -> sendCommand ( 'version' ) ; $ res = fgets ( $ this -> conn , 4096 ) ; $ this -> checkForError ( $ res ) ; return trim ( $ res ) ; }
docstring: Get the version of Gearman running.
  
  @return string
  
  @see MHlavac\Gearman\Manager::sendCommand()
  @see MHlavac\Gearman\Manager::checkForError()
docstring_tokens: Get the version of Gearman running .