(PHP 5, PHP 7)
DOMDocument::createTextNode — Create new text node
This function creates a new instance of class DOMText. Este nó não será exibido no documento a não ser que ele seja inserido, por exemplo, com DOMNode->appendChild().
contentThe content of the text.
The new DOMText or FALSE if an error occurred.