original_string: public function ToString()
  	{
  		if ( is_null( $this->domNode ) ) return "";
  		if ( $this->domNode instanceof \DOMDocument )
  		{
  			$result = $this->domNode->saveXML( null );
  			// Remove any initial PI
  			$result = preg_replace( "/^<\?xml.*\?>\s/", "", $result );
  			return $result;
  		}
  		else
  		{
  			// InnerXml?
  			// return array_reduce(
  			// 	iterator_to_array( $this->domNode->childNodes ),
  			// 	function ( $carry, /** @var \DOMNode */ $child )
  			// 	{
  			// 		return $carry.$child->ownerDocument->saveXML( $child );
  			// 	}
  			// );
  			$result = $this->domNode->ownerDocument->SaveXML( $this->domNode );
  			return $result;
  		}
  	}
code: public function ToString()
  	{
  		if ( is_null( $this->domNode ) ) return "";
  		if ( $this->domNode instanceof \DOMDocument )
  		{
  			$result = $this->domNode->saveXML( null );
  			// Remove any initial PI
  			$result = preg_replace( "/^<\?xml.*\?>\s/", "", $result );
  			return $result;
  		}
  		else
  		{
  			// InnerXml?
  			// return array_reduce(
  			// 	iterator_to_array( $this->domNode->childNodes ),
  			// 	function ( $carry, /** @var \DOMNode */ $child )
  			// 	{
  			// 		return $carry.$child->ownerDocument->saveXML( $child );
  			// 	}
  			// );
  			$result = $this->domNode->ownerDocument->SaveXML( $this->domNode );
  			return $result;
  		}
  	}
code_tokens: public function ToString ( ) { if ( is_null ( $ this -> domNode ) ) return "" ; if ( $ this -> domNode instanceof \ DOMDocument ) { $ result = $ this -> domNode -> saveXML ( null ) ; // Remove any initial PI
   $ result = preg_replace ( "/^<\?xml.*\?>\s/" , "" , $ result ) ; return $ result ; } else { // InnerXml?
   // return array_reduce(
   // 	iterator_to_array( $this->domNode->childNodes ),
   // 	function ( $carry, /** @var \DOMNode */ $child )
   // 	{
   // 		return $carry.$child->ownerDocument->saveXML( $child );
   // 	}
   // );
   $ result = $ this -> domNode -> ownerDocument -> SaveXML ( $ this -> domNode ) ; return $ result ; } }
docstring: Gets the text value of the current node.
  
  @return string A string that contains the text value of the current node.
docstring_tokens: Gets the text value of the current node .