(PHP 5, PHP 7)
DOMDocument::createTextNode — Create new text node
This function creates a new instance of class DOMText. 此节点出现在文档中,除非是用诸如 DOMNode->appendChild() 等函数来将其插入。
content
The content of the text.
The new DOMText or FALSE
if an error occurred.