DOMDocument->createDocumentFragment Create new document fragment Description objectDOMDocument->createDocumentFragment This function returns a new instance of class DOMAttr. The name of the attribute is the value of the first parameter. &dom.node.inserted; The return value is &false; if an error occurred.