original_string: public function saveHTML($dom, $options = array()) {
          $stream = fopen('php://temp', 'w');
          $this->save($dom, $stream, array_merge($this->getOptions(), $options));
  
          return stream_get_contents($stream, - 1, 0);
      }
code: public function saveHTML($dom, $options = array()) {
          $stream = fopen('php://temp', 'w');
          $this->save($dom, $stream, array_merge($this->getOptions(), $options));
  
          return stream_get_contents($stream, - 1, 0);
      }
code_tokens: public function saveHTML ( $ dom , $ options = array ( ) ) { $ stream = fopen ( 'php://temp' , 'w' ) ; $ this -> save ( $ dom , $ stream , array_merge ( $ this -> getOptions ( ) , $ options ) ) ; return stream_get_contents ( $ stream , - 1 , 0 ) ; }
docstring: Convert a DOM into an HTML5 string.
  
  @param mixed $dom
  The DOM to be serialized.
  @param array $options
  Configuration options when serializing the DOM. These include:
  - encode_entities: Text written to the output is escaped by default and not all
  entities are encoded. If this is set to true all entities will be encoded.
  Defaults to false.
  
  @return string A HTML5 documented generated from the DOM.
docstring_tokens: Convert a DOM into an HTML5 string .