original_string: protected function start(Reader $args)
      {
          $this->versionMajor = $args->readOctet();
          $this->versionMinor = $args->readOctet();
          $this->serverProperties = $args->readTable();
          $this->mechanisms = explode(" ", $args->readLongstr());
          $this->locales = explode(" ", $args->readLongstr());
  
          if ($this->debug) {
              Helper::debugMsg(
                  sprintf(
                      'Start from server, version: %d.%d, properties: %s, ' .
                          'mechanisms: %s, locales: %s',
                      $this->versionMajor,
                      $this->versionMinor,
                      self::dumpTable($this->serverProperties),
                      implode(', ', $this->mechanisms),
                      implode(', ', $this->locales)
                  )
              );
          }
      }
code: protected function start(Reader $args)
      {
          $this->versionMajor = $args->readOctet();
          $this->versionMinor = $args->readOctet();
          $this->serverProperties = $args->readTable();
          $this->mechanisms = explode(" ", $args->readLongstr());
          $this->locales = explode(" ", $args->readLongstr());
  
          if ($this->debug) {
              Helper::debugMsg(
                  sprintf(
                      'Start from server, version: %d.%d, properties: %s, ' .
                          'mechanisms: %s, locales: %s',
                      $this->versionMajor,
                      $this->versionMinor,
                      self::dumpTable($this->serverProperties),
                      implode(', ', $this->mechanisms),
                      implode(', ', $this->locales)
                  )
              );
          }
      }
code_tokens: protected function start ( Reader $ args ) { $ this -> versionMajor = $ args -> readOctet ( ) ; $ this -> versionMinor = $ args -> readOctet ( ) ; $ this -> serverProperties = $ args -> readTable ( ) ; $ this -> mechanisms = explode ( " " , $ args -> readLongstr ( ) ) ; $ this -> locales = explode ( " " , $ args -> readLongstr ( ) ) ; if ( $ this -> debug ) { Helper :: debugMsg ( sprintf ( 'Start from server, version: %d.%d, properties: %s, ' . 'mechanisms: %s, locales: %s' , $ this -> versionMajor , $ this -> versionMinor , self :: dumpTable ( $ this -> serverProperties ) , implode ( ', ' , $ this -> mechanisms ) , implode ( ', ' , $ this -> locales ) ) ) ; } }
docstring: start connection negotiation
docstring_tokens: start connection negotiation