original_string: protected function parseResponse($string)
      {
          $exp = explode(Driver::SEP, $string);
  
          if ($exp[0] != 0) {
              throw new HSException(isset($exp[2]) ? $exp[2] : '', $exp[0]);
          }
  
          array_shift($exp); // skip error code
  
          $numCols = intval(array_shift($exp));
          $exp = array_map([$this->socket, 'decode'], $exp);
  
          return array_chunk($exp, $numCols);
      }
code: protected function parseResponse($string)
      {
          $exp = explode(Driver::SEP, $string);
  
          if ($exp[0] != 0) {
              throw new HSException(isset($exp[2]) ? $exp[2] : '', $exp[0]);
          }
  
          array_shift($exp); // skip error code
  
          $numCols = intval(array_shift($exp));
          $exp = array_map([$this->socket, 'decode'], $exp);
  
          return array_chunk($exp, $numCols);
      }
code_tokens: protected function parseResponse ( $ string ) { $ exp = explode ( Driver :: SEP , $ string ) ; if ( $ exp [ 0 ] != 0 ) { throw new HSException ( isset ( $ exp [ 2 ] ) ? $ exp [ 2 ] : '' , $ exp [ 0 ] ) ; } array_shift ( $ exp ) ; // skip error code $ numCols = intval ( array_shift ( $ exp ) ) ; $ exp = array_map ( [ $ this -> socket , 'decode' ] , $ exp ) ; return array_chunk ( $ exp , $ numCols ) ; }
docstring: Parse response from server
  
  @param $string
  @return array
  @throws HSException
docstring_tokens: Parse response from server