original_string: public function close()
      {
          if (is_resource($this->stream) === true) {
              fclose($this->stream);
          }
  
          $this->detach();
      }
code: public function close()
      {
          if (is_resource($this->stream) === true) {
              fclose($this->stream);
          }
  
          $this->detach();
      }
code_tokens: public function close ( ) { if ( is_resource ( $ this -> stream ) === true ) { fclose ( $ this -> stream ) ; } $ this -> detach ( ) ; }
docstring: Closes the stream and any underlying resources
docstring_tokens: Closes the stream and any underlying resources