original_string: public function gets($size)
      {
          $this->_checkStream();
          $data = @fgets($this->_stream, $size);
          if ($data === false) {
              throw new Client\Exception('Error reading data from socket');
          }
          return $data;
      }
code: public function gets($size)
      {
          $this->_checkStream();
          $data = @fgets($this->_stream, $size);
          if ($data === false) {
              throw new Client\Exception('Error reading data from socket');
          }
          return $data;
      }
code_tokens: public function gets ( $ size ) { $ this -> _checkStream ( ) ; $ data = @ fgets ( $ this -> _stream , $ size ) ; if ( $ data === false ) { throw new Client \ Exception ( 'Error reading data from socket' ) ; } return $ data ; }
docstring: Returns a line of data.
  
  @param int $size  Reading ends when $size - 1 bytes have been read,
  or a newline or an EOF (whichever comes first).
  
  @throws Horde\Socket\Client\Exception
  @return string  $size bytes of data from the socket
docstring_tokens: Returns a line of data .