original_string: function close() {
          $this->_error_log('closing socket ' . $this->sock);
          $this->_connection_closed = true;
          fclose($this->sock);
      }
code: function close() {
          $this->_error_log('closing socket ' . $this->sock);
          $this->_connection_closed = true;
          fclose($this->sock);
      }
code_tokens: function close ( ) { $ this -> _error_log ( 'closing socket ' . $ this -> sock ) ; $ this -> _connection_closed = true ; fclose ( $ this -> sock ) ; }
docstring: Closes an open socket.
docstring_tokens: Closes an open socket .