original_string: private function createNode($nodeName, $nodeValue, $cdata = false)
      {
          $node = $this->createElement($nodeName);
          if($cdata){
              $text = $this->createCDATASection($nodeValue);
          } else {
              $text = $this->createTextNode($nodeValue);
          }
  
          $node->appendChild($text);
          return $node;
  
      }
code: private function createNode($nodeName, $nodeValue, $cdata = false)
      {
          $node = $this->createElement($nodeName);
          if($cdata){
              $text = $this->createCDATASection($nodeValue);
          } else {
              $text = $this->createTextNode($nodeValue);
          }
  
          $node->appendChild($text);
          return $node;
  
      }
code_tokens: private function createNode ( $ nodeName , $ nodeValue , $ cdata = false ) { $ node = $ this -> createElement ( $ nodeName ) ; if ( $ cdata ) { $ text = $ this -> createCDATASection ( $ nodeValue ) ; } else { $ text = $ this -> createTextNode ( $ nodeValue ) ; } $ node -> appendChild ( $ text ) ; return $ node ; }
docstring: Creates and returns a new node with textNode, ready for appending
  
  @param string $nodeName
  @param string $nodeValue
  @return object DOM node
docstring_tokens: Creates and returns a new node with textNode ready for appending