(PHP 5, PHP 7)
DOMDocument::createTextNode — Create new text node
This function creates a new instance of class DOMText. Dieser Knoten wird in Ihrem Dokument nicht sichtbar sein, bis dieser zum Beispiel mit der Funktion DOMNode::appendChild eingefügt wird.
contentThe content of the text.
The new DOMText or FALSE if an error occurred.